Partager via


AudioAttributes.Builder.SetAllowedCapturePolicy(CapturePolicies) Method

Definition

[Android.Runtime.Register("setAllowedCapturePolicy", "(I)Landroid/media/AudioAttributes$Builder;", "GetSetAllowedCapturePolicy_IHandler", ApiSince=29)]
public virtual Android.Media.AudioAttributes.Builder SetAllowedCapturePolicy (Android.Media.CapturePolicies capturePolicy);
[<Android.Runtime.Register("setAllowedCapturePolicy", "(I)Landroid/media/AudioAttributes$Builder;", "GetSetAllowedCapturePolicy_IHandler", ApiSince=29)>]
abstract member SetAllowedCapturePolicy : Android.Media.CapturePolicies -> Android.Media.AudioAttributes.Builder
override this.SetAllowedCapturePolicy : Android.Media.CapturePolicies -> Android.Media.AudioAttributes.Builder

Parameters

capturePolicy
CapturePolicies

Returns

Attributes

Applies to