Edytuj

Udostępnij za pośrednictwem


AVAudioSession.SetMode(NSString, NSError) Method

Definition

Requests a specific mode.

[Foundation.Export("setMode:error:")]
public virtual bool SetMode (Foundation.NSString mode, out Foundation.NSError error);
abstract member SetMode : Foundation.NSString *  -> bool
override this.SetMode : Foundation.NSString *  -> bool

Parameters

error
NSError

On failure, this contains the error details.

Returns

true if the request was successful, otherwise the outError parameter contains an instance of NSError describing the problem.

Attributes

Applies to