語言

AudioAttributes.AllowCaptureBySystem 欄位

定義

警告

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_SYSTEM", 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 AllowCaptureBySystem = 2;
[<Android.Runtime.Register("ALLOW_CAPTURE_BY_SYSTEM", 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 AllowCaptureBySystem : Android.Media.CapturePolicies

欄位值

Value = 2

實作

屬性

備註

表示音訊只能由系統應用程式擷取。

系統應用程式可以擷取多種功能,例如無障礙功能、即時字幕、使用者指引等。但請遵守以下限制:- 音訊不得離開裝置 - 音訊不得傳送至第三方應用程式 - 音訊不得以高於 16kHz 16bit 單聲道的音質錄製

參見 Builder#setAllowedCapturePolicy。

Java 文件 android.media.AudioAttributes.ALLOW_CAPTURE_BY_SYSTEM。

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

適用於