pub struct Extension {Show 19 fields
pub intents_supported: Option<Vec<String>>,
pub pro_extension_attributes: Option<BTreeMap<String, String>>,
pub pro_extension_principal_class: Option<String>,
pub pro_extension_principal_view_controller_class: Option<String>,
pub pro_extension_uuid: Option<String>,
pub password_generation_requirements: Option<String>,
pub supports_strong_password_upgrade: Option<bool>,
pub supports_upgrade_to_sign_in_with_apple: Option<bool>,
pub extension_action_wants_full_screen_presentation: Option<bool>,
pub extension_attributes: Option<ExtensionAttributes>,
pub extension_main_storyboard: Option<String>,
pub extension_overrides_host_ui_appearance: Option<bool>,
pub extension_point_identifier: Option<ExtensionPointIdentifier>,
pub extension_principal_class: Option<String>,
pub safari_content_script: Option<Vec<SafariContentScript>>,
pub safari_context_menu: Option<Vec<SafariContextMenu>>,
pub safari_style_sheet: Option<Vec<SafariStyleSheet>>,
pub safari_toolbar_item: Option<SafariToolbarItem>,
pub safari_website_access: Option<SafariWebsiteAccess>,
}Expand description
Extension
Fields§
§intents_supported: Option<Vec<String>>§pro_extension_attributes: Option<BTreeMap<String, String>>A dictionary that specifies the minimum size of the floating window in which Final Cut Pro hosts the extension view.
§Availability
- ProVideo Workflow Extensions 1.0+
§Framework
- ProExtension
pro_extension_principal_class: Option<String>The name of the class with the principal implementation of your extension.
The Compressor app instantiates the class specified in the ProExtensionPrincipalClass key to convert source files to the output format your extension supports.
§Availability
- ProVideo Workflow Extensions 1.0+
- ProVideo Encoder Extensions 1.0+
§Framework
- ProExtension
pro_extension_principal_view_controller_class: Option<String>The name of the principal view controller class of your extension.
This key provides the name of the primary view controller class of your extension that adopts the NSViewController protocol. When you create an extension, the Xcode template automatically includes this key in the workflow extension information property list. You only modify the value of this key when you rename the primary view controller class in your extension.
§Availability
- ProVideo Workflow Extensions 1.0+
- ProVideo Encoder Extensions 1.0+
§Framework
- ProExtension
pro_extension_uuid: Option<String>A UUID string that uniquely identifies your extension to the Compressor app.
The value for this key is a placeholder UUID the Xcode template generates. Each extension must have a unique UUID. When you build an extension for the first time, the build script in the Xcode template replaces the placeholder UUID with a new UUID. The new UUID fulfills the uniqueness and persistence requirement for ProExtensionUUID. For subsequent rebuilds, the UUID stays the same because the Compressor app uses this UUID to differentiate between previously saved and newly discovered extensions.
§Availability
- ProVideo Workflow Extensions 1.0+
- ProVideo Encoder Extensions 1.0+
§Framework
- ProExtension
password_generation_requirements: Option<String>Account Authentication Modification. The rules the system satisfies when generating a strong password for your extension during an automatic upgrade.
§Availability
- iOS 14.0+
§Framework
- Foundation
supports_strong_password_upgrade: Option<bool>Account Authentication Modification. A Boolean value that indicates whether the extension supports upgrading a user’s password to a strong password.
§Availability
- iOS 14.0+
§Framework
- Foundation
supports_upgrade_to_sign_in_with_apple: Option<bool>Account Authentication Modification. A Boolean value that indicates whether the extension supports upgrading from using password authentication to using Sign in with Apple.
§Availability
- iOS 14.0+
§Framework
- Foundation
extension_action_wants_full_screen_presentation: Option<bool>A Boolean value indicating whether the Action extension is presented in full screen.
§Availability
- iOS 8.0+
§Framework
- Foundation
extension_attributes: Option<ExtensionAttributes>§extension_main_storyboard: Option<String>The name of the app extension’s main storyboard file.
This key is mutually exclusive with NSExtensionPrincipalClass. Typically, Xcode sets the value of this key when creating an App Extension target in your project. If you change the name of your storyboard file, remember to update the value of this key.
§Availability
- iOS 8.0+
- macOS 10.10+
§Framework
- Foundation
extension_overrides_host_ui_appearance: Option<bool>A Boolean value indicating whether the app extension ignores appearance changes made by the host app.
§Availability
- iOS 10.0+
§Framework
- Foundation
extension_point_identifier: Option<ExtensionPointIdentifier>The extension point that supports an app extension.
§Availability
- iOS 8.0+
- macOS 10.10+
§Framework
- Foundation
extension_principal_class: Option<String>The custom class that implements an app extension’s primary view or functionality.
This key is mutually exclusive with NSExtensionMainStoryboard. Typically, Xcode sets the value of this key when creating an App Extension target in your project. If you change the name of the specified class, remember to update the value of this key.
§Availability
- iOS 8.0+
- macOS 10.10+
§Framework
- Foundation
safari_content_script: Option<Vec<SafariContentScript>>The context menu items for a Safari extension.
§Availability
- macOS 10.11.5+
§Framework
- Safari Services
safari_style_sheet: Option<Vec<SafariStyleSheet>>§safari_toolbar_item: Option<SafariToolbarItem>The items to add to the toolbar for a Safari extension.
§Availability
- macOS 10.11.5+
§Framework
- Safari Services
safari_website_access: Option<SafariWebsiteAccess>