AudioAttributes.AllowCaptureBySystem 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,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_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
。
适用于 . 的 android.media.AudioAttributes.ALLOW_CAPTURE_BY_SYSTEM
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。