Struct apple_bundle::entitlements::contacts::Contacts[][src]

pub struct Contacts {
    pub carplay_audio: Option<bool>,
}
Expand description

Contacts

Fields

carplay_audio: Option<bool>

A Boolean value that indicates whether the app may access the notes stored in contacts.

When your app loads one or more entries from the user’s contacts—for example, by calling the unifiedContacts(matching:keysToFetch:) method—you provide a list of keys specifying what fields to fetch. If your app links against iOS 13 or later, the app must have the com.apple.developer.contacts.notes entitlement to request the note field using CNContactNoteKey. Without the entitlement, your app receives an unauthorizedKeys error when trying to fetch notes.

To add the entitlement to your app, in the Xcode property list editor, set the entitlement’s type to Boolean, and the corresponding value to YES. Before you can submit an app with this entitlement to the App Store, you must first get permission to use the entitlement. Request permission at https://developer.apple.com/contact/request/contact-note-field.

Availability

  • iOS 13.0+

Framework

  • Contacts

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.