PhaseSoundEvent.Start 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 |
|---|---|
| Start(NSError) |
Obsolete.
|
| Start(Action<PhaseSoundEventStartHandlerReason>) | |
| Start(AVAudioTime, Action<PhaseSoundEventStartHandlerReason>) |
Start(NSError)
Caution
Use the other 'Start' overload instead, this doesn't exist.
[Foundation.Export("startAndReturnError:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
[System.Obsolete("Use the other 'Start' overload instead, this doesn't exist.", false)]
public virtual bool Start(out Foundation.NSError? error);
[<Foundation.Export("startAndReturnError:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<System.Obsolete("Use the other 'Start' overload instead, this doesn't exist.", false)>]
abstract member Start : NSError -> bool
override this.Start : NSError -> bool
Parameters
- error
- NSError
Returns
- Attributes
Applies to
Start(Action<PhaseSoundEventStartHandlerReason>)
[Foundation.Export("startWithCompletion:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool Start(Action<Phase.PhaseSoundEventStartHandlerReason>? completionBlock);
[<Foundation.Export("startWithCompletion:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Start : Action<Phase.PhaseSoundEventStartHandlerReason> -> bool
override this.Start : Action<Phase.PhaseSoundEventStartHandlerReason> -> bool
Parameters
- completionBlock
- Action<PhaseSoundEventStartHandlerReason>
Returns
- Attributes
Applies to
Start(AVAudioTime, Action<PhaseSoundEventStartHandlerReason>)
[Foundation.Export("startAtTime:completion:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Start(AVFoundation.AVAudioTime? when, Action<Phase.PhaseSoundEventStartHandlerReason>? handler);
[<Foundation.Export("startAtTime:completion:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Start : AVFoundation.AVAudioTime * Action<Phase.PhaseSoundEventStartHandlerReason> -> unit
override this.Start : AVFoundation.AVAudioTime * Action<Phase.PhaseSoundEventStartHandlerReason> -> unit
Parameters
- when
- AVAudioTime
- handler
- Action<PhaseSoundEventStartHandlerReason>
- Attributes