GKStateMachine.CanEnterState Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| CanEnterState(GKState) |
Returns |
| CanEnterState(Class) | |
| CanEnterState(Type) |
Whether a transition from CurrentState to |
CanEnterState(Class)
[Foundation.Export("canEnterState:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
protected virtual bool CanEnterState(ObjCRuntime.Class stateClass);
[<Foundation.Export("canEnterState:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CanEnterState : ObjCRuntime.Class -> bool
override this.CanEnterState : ObjCRuntime.Class -> bool
Parameters
- stateClass
- Class
Returns
- Attributes
Applies to
CanEnterState(Type)
Whether a transition from CurrentState to stateType is valid.
public bool CanEnterState(Type stateType);
member this.CanEnterState : Type -> bool