Udostępnij za pośrednictwem


AudioAttributes.Builder.SetUsage(AudioUsageKind) Method

Definition

[Android.Runtime.Register("setUsage", "(I)Landroid/media/AudioAttributes$Builder;", "GetSetUsage_IHandler")]
public virtual Android.Media.AudioAttributes.Builder? SetUsage (Android.Media.AudioUsageKind usage);
[<Android.Runtime.Register("setUsage", "(I)Landroid/media/AudioAttributes$Builder;", "GetSetUsage_IHandler")>]
abstract member SetUsage : Android.Media.AudioUsageKind -> Android.Media.AudioAttributes.Builder
override this.SetUsage : Android.Media.AudioUsageKind -> Android.Media.AudioAttributes.Builder

Parameters

Returns

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to