Struct apple_bundle::info_plist::protected_resources::MediaPlayer
source · [−]Expand description
Media Player
Fields
apple_music_usage_description: Option<String>
A message that tells the user why the app is requesting access to the user’s media library.
Set the value of this key to a user-readable description of how you intend to use the user’s media library. The first time your app access the user’s media library, the system prompts the user to grant or deny authorization for your app to do so. The system includes this key’s description in the dialog it displays to the user.
Important
This key is required if your app uses APIs that access the user’s media library.
Availability
- iOS 2.0+
Framework
- Media Player
Trait Implementations
sourceimpl Clone for MediaPlayer
impl Clone for MediaPlayer
sourcefn clone(&self) -> MediaPlayer
fn clone(&self) -> MediaPlayer
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MediaPlayer
impl Debug for MediaPlayer
sourceimpl Default for MediaPlayer
impl Default for MediaPlayer
sourcefn default() -> MediaPlayer
fn default() -> MediaPlayer
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for MediaPlayer
impl<'de> Deserialize<'de> for MediaPlayer
sourcefn 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
sourceimpl PartialEq<MediaPlayer> for MediaPlayer
impl PartialEq<MediaPlayer> for MediaPlayer
sourcefn eq(&self, other: &MediaPlayer) -> bool
fn eq(&self, other: &MediaPlayer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MediaPlayer) -> bool
fn ne(&self, other: &MediaPlayer) -> bool
This method tests for !=
.
sourceimpl Serialize for MediaPlayer
impl Serialize for MediaPlayer
impl Eq for MediaPlayer
impl StructuralEq for MediaPlayer
impl StructuralPartialEq for MediaPlayer
Auto Trait Implementations
impl RefUnwindSafe for MediaPlayer
impl Send for MediaPlayer
impl Sync for MediaPlayer
impl Unpin for MediaPlayer
impl UnwindSafe for MediaPlayer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.