init
TypeScriptstatic init(): ShieldConfigurationDataSourceSwift declarationoverride dynamic init()class · iOS 15.0+ · SDK 27.1
@objc class ShieldConfigurationDataSourceThe base class for the principal object of an app extension that configures a shield's appearance. You can create an extension to customize the appearance of the shields that the system uses to cover an application or website. The system provides your extension with the display names, bundle identifiers, and domains for each application, website, or category it shields. Your extension is expected to return an appropriate configuration as quickly as possible, in order to provide the best possible user experience. To protect the Family Sharing group's privacy, your extension runs in a sandbox. This sandbox prevents your extension from making network requests or moving sensitive content outside the extension's address space. The system provides a default appearance for any methods that your subclass doesn't override, or if it takes too long to return a configuration.
static init(): ShieldConfigurationDataSourceSwift declarationoverride dynamic init()configurationShieldingIn(application: _ManagedSettings_Application, category: _ManagedSettings_ActivityCategory): ShieldConfigurationSwift declarationfunc configuration(shielding application: Application, in category: ActivityCategory) -> ShieldConfigurationRequests a configuration to use for a shield that covers an application because of its category. - Parameter application: The application the shield covers. - Parameter category: The category of the application that the shield covers. - Returns: The shield to display.
configurationShieldingIn69477(webDomain: _ManagedSettings_WebDomain, category: _ManagedSettings_ActivityCategory): ShieldConfigurationSwift declarationfunc configuration(shielding webDomain: WebDomain, in category: ActivityCategory) -> ShieldConfigurationRequests a configuration to use for a shield that covers a website because of its category. - Parameter webDomain: The website that the shield covers. - Parameter category: The category of the website that the shield covers. - Returns: The shield to display.
configurationShielding(application: _ManagedSettings_Application): ShieldConfigurationSwift declarationfunc configuration(shielding application: Application) -> ShieldConfigurationRequests a configuration to use for a shield that covers an application. - Parameter application: The application the shield covers. - Returns: The shield to display.
configurationShielding90850(webDomain: _ManagedSettings_WebDomain): ShieldConfigurationSwift declarationfunc configuration(shielding webDomain: WebDomain) -> ShieldConfigurationRequests a configuration to use for a shield that covers a website. - Parameter webDomain: The website that the shield covers. - Returns: The shield to display.
No declarations were skipped in this snapshot.