語言

AudioAttributes.AllowCaptureByNone 欄位

定義

警告

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_NONE", 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 AllowCaptureByNone = 3;
[<Android.Runtime.Register("ALLOW_CAPTURE_BY_NONE", 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 AllowCaptureByNone : Android.Media.CapturePolicies

欄位值

Value = 3

實作

屬性

備註

表示音訊不得由任何應用程式錄製,即使是系統應用程式。

建議以 #ALLOW_CAPTURE_BY_SYSTEM 此數值取代,因為系統應用程式為使用者提供了重要且實用的功能(如即時字幕與無障礙功能)。

參見 Builder#setAllowedCapturePolicy。

Java 文件 android.media.AudioAttributes.ALLOW_CAPTURE_BY_NONE。

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

適用於