AudioAttributes.AllowCaptureByAll 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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 所創建與分享的作品,並依授權條款所描述的使用進行修改。