Share via


AVAudioSession.Category Property

Definition

Weakly-typed audio classification of the app, used to balance its demands with other apps on the device.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSString Category { [Foundation.Export("category")] get; }
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<get: Foundation.Export("category")>]
member this.Category : Foundation.NSString

Property Value

Values should be one of CategoryAmbient, CategorySoloAmbient, CategoryPlayback, CategoryRecord, CategoryPlayAndRecord, CategoryAudioProcessing, CategoryMultiRoute properties.

Attributes

Applies to