CameraDevice.CameraAudioRestriction Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get currently applied global camera audio restriction mode. -or- Set audio restriction mode when this CameraDevice is being used.
public virtual int CameraAudioRestriction { [Android.Runtime.Register("getCameraAudioRestriction", "()I", "GetGetCameraAudioRestrictionHandler", ApiSince=30)] get; [Android.Runtime.Register("setCameraAudioRestriction", "(I)V", "GetSetCameraAudioRestriction_IHandler", ApiSince=30)] set; }
[<get: Android.Runtime.Register("getCameraAudioRestriction", "()I", "GetGetCameraAudioRestrictionHandler", ApiSince=30)>]
[<set: Android.Runtime.Register("setCameraAudioRestriction", "(I)V", "GetSetCameraAudioRestriction_IHandler", ApiSince=30)>]
member this.CameraAudioRestriction : int with get, set
Property Value
The current system-wide mute mode setting in effect
- Attributes
Remarks
Property getter documentation:
Java documentation for android.hardware.camera2.CameraDevice.getCameraAudioRestriction().
Property setter documentation:
Java documentation for android.hardware.camera2.CameraDevice.setCameraAudioRestriction(int).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.