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