pub struct CameraAndMicrophone {
pub camera_usage_description: Option<String>,
pub microphone_usage_description: Option<String>,
}Expand description
Camera and Microphone
§Articles
Fields§
§camera_usage_description: Option<String>A message that tells the user why the app is requesting access to the device’s camera.
§Important
This key is required if your app uses APIs that access the device’s camera.
§Availability
- iOS 7.0+
- macOS 10.14+
§Framework
- AVFoundation
microphone_usage_description: Option<String>A message that tells the user why the app is requesting access to the device’s microphone.
§Important
This key is required if your app uses APIs that access the device’s microphone.
§Availability
- iOS 7.0+
- macOS 10.14+
- watchOS 4.0+
§Framework
- AVFoundation
Trait Implementations§
Source§impl Clone for CameraAndMicrophone
impl Clone for CameraAndMicrophone
Source§fn clone(&self) -> CameraAndMicrophone
fn clone(&self) -> CameraAndMicrophone
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CameraAndMicrophone
impl Debug for CameraAndMicrophone
Source§impl Default for CameraAndMicrophone
impl Default for CameraAndMicrophone
Source§fn default() -> CameraAndMicrophone
fn default() -> CameraAndMicrophone
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CameraAndMicrophone
impl<'de> Deserialize<'de> for CameraAndMicrophone
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CameraAndMicrophone
impl PartialEq for CameraAndMicrophone
Source§impl Serialize for CameraAndMicrophone
impl Serialize for CameraAndMicrophone
impl Eq for CameraAndMicrophone
impl StructuralPartialEq for CameraAndMicrophone
Auto Trait Implementations§
impl Freeze for CameraAndMicrophone
impl RefUnwindSafe for CameraAndMicrophone
impl Send for CameraAndMicrophone
impl Sync for CameraAndMicrophone
impl Unpin for CameraAndMicrophone
impl UnwindSafe for CameraAndMicrophone
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.