AudioAttributes.AllowCaptureByAll フィールド

定義

注意事項

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_ALL", 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 AllowCaptureByAll = 1;
[<Android.Runtime.Register("ALLOW_CAPTURE_BY_ALL", 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 AllowCaptureByAll : Android.Media.CapturePolicies

フィールド値

Value = 1

実装

属性

注釈

オーディオが任意のアプリによってキャプチャされることを示します。

プライバシーを保護するために、VOICE_COMMUNICATION*、USAGE_NOTIFICATION*、USAGE_ASSISTANCE*、USAGE_ASSISTANTの使用状況を記録することはできません。

ではandroid.os.Build.VERSION_CODES#Q、これは のみを#USAGE_UNKNOWN#USAGE_MEDIA意味し、#USAGE_GAMEキャプチャできます。

android.media.projection.MediaProjectionBuilder#setAllowedCapturePolicy を参照してください。

android.media.AudioAttributes.ALLOW_CAPTURE_BY_ALLJava ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象