语言

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 16 位单声道的高质量录制

请参阅 Builder#setAllowedCapturePolicy。

Java文档android.media.AudioAttributes.ALLOW_CAPTURE_BY_SYSTEM。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于