語言

AudioAttributes.AllowCaptureByAll 欄位

定義

警告

This constant will be removed in the future version. Use Android.Media.CapturePolicies enum directly instead of this field.

表示音訊可被任何應用程式擷取。

[Android.Runtime.Register("ALLOW_CAPTURE_BY_ALL", ApiSince=29)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.CapturePolicies enum directly instead of this field.", true)]
public const Android.Media.CapturePolicies AllowCaptureByAll = 1;
[<Android.Runtime.Register("ALLOW_CAPTURE_BY_ALL", ApiSince=29)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.CapturePolicies enum directly instead of this field.", true)>]
val mutable AllowCaptureByAll : Android.Media.CapturePolicies

欄位值

Value = 1

實作

屬性

備註

表示音訊可被任何應用程式擷取。

為了隱私,以下用法無法被記錄:VOICE_COMMUNICATION*、USAGE_NOTIFICATION*、USAGE_ASSISTANCE* 和 USAGE_ASSISTANT。

在 上 android.os.Build.VERSION_CODES#Q,這僅 #USAGE_UNKNOWN表示 , #USAGE_MEDIA 且 #USAGE_GAME 可被捕獲。

請參閱 android.media.projection.MediaProjection 與 Builder#setAllowedCapturePolicy。

Java 文件 android.media.AudioAttributes.ALLOW_CAPTURE_BY_ALL。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於