[−][src]Struct creator_tools::types::ExtensionAttributes
Extension Attributes.
Fields
allows_finder_preview_item: Option<bool>A Boolean value indicating whether the extension appears in the Finder Preview pane and Quick Actions menu.
allows_toolbar_item: Option<bool>A Boolean value indicating whether an Action extension displays an item in a window’s toolbar.
allows_touch_bar_item: Option<bool>A Boolean value indicating whether the extension appears as a Quick Action in the Touch Bar.
finder_preview_icon_name: Option<String>The name of an icon for display when the extension appears in the Finder Preview pane and Quick Actions menu.
This key is used in conjunction with the NSExtensionServiceAllowsFinderPreviewItem key.
Set the NSExtensionServiceFinderPreviewIconName key's value to a system icon name or the name of an icon in the extension bundle. This icon should be a template image: a monochromatic image with transparency, anti-aliasing, and no drop shadow that uses a mask to define its shape. For design guidance, see Human Interface Guidelines > macOS > Custom Icons. If no icon is specified, a default icon is used.
finder_preview_label: Option<String>A name for display when the extension appears in the Finder Preview pane and Quick Actions menu.
This key is used in conjunction with the NSExtensionServiceAllowsFinderPreviewItem key.
If the NSExtensionServiceFinderPreviewLabel key isn't provided, the extension's display name is used.
role_type: Option<ExtensionServiceRoleType>The type of task an Action extension performs.
toolbar_icon_file: Option<String>The image for an Action extension’s toolbar item.
toolbar_palette_label: Option<String>The label for an Action extension's toolbar item.
touch_bar_bezel_color_name: Option<String>The color to use for the bezel around the extension when it appears as a Quick Action in the Touch Bar.
This key is used in conjunction with the NSExtensionServiceAllowsTouchBarItem key.
Set the NSExtensionServiceTouchBarBezelColorName key's value to the name of a color that exists in your extension's asset catalog—a color that matches a system color is recommended. If no color is specified, a default color is used.
touch_bar_icon_name: Option<String>The name of an icon for display when the extension appears as a Quick Action in the Touch Bar.
This key is used in conjunction with the NSExtensionServiceAllowsTouchBarItem key.
Set the NSExtensionServiceTouchBarIconName key's value to a system icon name or the name of an icon within the extension bundle. This icon should be a template image: a monochromatic image with transparency, anti-aliasing, and no drop shadow that uses a mask to define its shape. For design guidance, see Human Interface Guidelines > macOS > Custom Icons. If no icon is specified, a default icon is used.
touch_bar_label: Option<String>A name for display when the extension appears as a Quick Action in the Touch Bar.
This key is used in conjunction with the NSExtensionServiceAllowsTouchBarItem key.
If the NSExtensionServiceTouchBarLabel key isn't provided, the extension's display name is used.
action_wants_full_screen_presentation: Option<bool>A Boolean value indicating whether the Action extension is presented in full screen.
main_storyboard: Option<bool>This key is mutually exclusive with NSExtensionPrincipalClass. If the app extension’s Info.plist file contains both keys, the system won’t load the extension.
overrides_host_ui_appearance: Option<bool>A Boolean value indicating whether the app extension ignores appearance changes made by the host app.
point_identifier: Option<ExtensionPointIdentifier>The extension point that supports an app extension.
principal_class: Option<String>This key is mutually exclusive with NSExtensionMainStoryboard. If the app extension’s Info.plist file contains both keys, the system won’t load the extension.
activation_rule: Option<ActivationRule>The semantic data types that a Share or Action extension supports.
java_script_preprocessing_file: Option<String>The name of a JavaScript file supplied by a Share or Action extension.
intents_supported: Option<Vec<String>>The names of the intents that an extension supports.
supported_media_categories: Option<Vec<MediaCategories>>Types of media supported by an app extension’s media-playing intents.
Specify one or more media categories to allow Siri to invoke your app’s intent handling when a user asks to play media. Use INMediaCategoryGeneral for media that doesn’t fit into any of the other categories, like white noise or sound effects.
To specify this information in Xcode, add INPlayMediaIntent to your extension’s list of Supported Intents. Then select the relevant media types in the list that appears.
project_extension_defines_project_types: Option<bool>supported_media_types: Option<Vec<MediaTypes>>The types of assets a Photo Editing extension can edit.
id_message_filter_extension_network_url: Option<String>The server that a Message Filter app extension may defer a query to.
classification_extension_sms_report_destination: Option<String>The phone number that receives SMS messages when the user reports an SMS message or a call.
is_ascii_capable: Option<String>A Boolean value indicating whether a custom keyboard displays standard ASCII characters.
messages_app_presentation_context_messages: Option<Vec<ContextMessages>>The contexts that an iMessage app or sticker pack supports.
file_provider_actions: Option<Vec<FileProviderAction>>The custom actions for a File Provider extension.
file_provider_document_group: Option<String>The identifier of a shared container that can be accessed by a Document Picker extension and its associated File Provider extension.
file_provider_supports_enumeration: Option<bool>A Boolean value indicating whether a File Provider extension enumerates its content.
prefers_right_to_left: Option<bool>A Boolean value indicating whether a keyboard extension supports right-to-left languages.
primary_language: Option<String>The primary language for a keyboard extension.
requests_open_access: Option<bool>A Boolean value indicating whether a custom keyboard uses a shared container and accesses the network.
document_picker_modes: Option<Vec<DocumentPickerModes>>The modes that a Document Picker extension supports.
document_picker_supported_file_types: Option<Vec<String>>The Uniform Type Identifiers that a document picker extension supports.
notification_extension_category: Option<String>The identifier of a category declared by the app extension.
A Boolean value indicating whether only the app extension's custom view controller is displayed in the notification interface.
notification_extension_initial_content_size_ratio: Option<f32>The initial size of the view controller's view for an app extension, expressed as a ratio of its height to its width.
notification_extension_overrides_default_title: Option<bool>A Boolean value indicating whether the title of the app extension's view controller is used as the title of the notification.
notification_extension_user_interaction_enabled: Option<bool>A Boolean value indicating whether user interactions in a custom notification are enabled.
Trait Implementations
impl Clone for ExtensionAttributes[src]
pub fn clone(&self) -> ExtensionAttributes[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for ExtensionAttributes[src]
impl Default for ExtensionAttributes[src]
pub fn default() -> ExtensionAttributes[src]
impl<'de> Deserialize<'de> for ExtensionAttributes[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl PartialEq<ExtensionAttributes> for ExtensionAttributes[src]
pub fn eq(&self, other: &ExtensionAttributes) -> bool[src]
pub fn ne(&self, other: &ExtensionAttributes) -> bool[src]
impl Serialize for ExtensionAttributes[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl StructuralPartialEq for ExtensionAttributes[src]
Auto Trait Implementations
impl RefUnwindSafe for ExtensionAttributes[src]
impl Send for ExtensionAttributes[src]
impl Sync for ExtensionAttributes[src]
impl Unpin for ExtensionAttributes[src]
impl UnwindSafe for ExtensionAttributes[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,