One Logo Pool Ball
UIKit · IOS API REFERENCE

UIActivityItemsConfiguration

class · iOS 13.0+ · SDK 27.1

@MainActor class UIActivityItemsConfiguration

Members (10)

init · iOS 13.0+

init

TypeScript
static initItemProviders(itemProviders: Array<_Foundation_NSItemProvider>): Promise<UIActivityItemsConfiguration>
Swift declaration
init(itemProviders: [NSItemProvider])
init · iOS 13.0+

init

TypeScript
static initObjects(objects: Array<SDKHandle>): Promise<UIActivityItemsConfiguration>
Swift declaration
init(objects: [any NSItemProviderWriting])
get · iOS 13.0+

applicationActivitiesProvider

TypeScript
get applicationActivitiesProvider(): Promise<((() => Promise<Array<UIActivity>>)) | null>
Swift declaration
var applicationActivitiesProvider: (() -> [UIActivity])? { get set }
get · iOS 13.0+

localObject

TypeScript
get localObject(): Promise<(unknown) | null>
Swift declaration
var localObject: Any? { get set }
set · iOS 13.0+

localObject

TypeScript
setLocalObject(value?: (unknown) | null): Promise<void>
Swift declaration
var localObject: Any? { get set }
get · iOS 13.0+

metadataProvider

TypeScript
get metadataProvider(): Promise<(((arg0: UIActivityItemsConfigurationMetadataKey) => Promise<(unknown) | null>)) | null>
Swift declaration
var metadataProvider: ((UIActivityItemsConfigurationMetadataKey) -> Any?)? { get set }
get · iOS 13.0+

perItemMetadataProvider

TypeScript
get perItemMetadataProvider(): Promise<(((arg0: number, arg1: UIActivityItemsConfigurationMetadataKey) => Promise<(unknown) | null>)) | null>
Swift declaration
var perItemMetadataProvider: ((Int, UIActivityItemsConfigurationMetadataKey) -> Any?)? { get set }
get · iOS 13.0+

previewProvider

TypeScript
get previewProvider(): Promise<(((arg0: number, arg1: UIActivityItemsConfigurationPreviewIntent, arg2: { width: number; height: number }) => Promise<(_Foundation_NSItemProvider) | null>)) | null>
Swift declaration
var previewProvider: ((Int, UIActivityItemsConfigurationPreviewIntent, CGSize) -> NSItemProvider?)? { get set }
get · iOS 13.0+

supportedInteractions

TypeScript
get supportedInteractions(): Promise<Array<UIActivityItemsConfigurationInteraction>>
Swift declaration
var supportedInteractions: [UIActivityItemsConfigurationInteraction] { get set }
set · iOS 13.0+

supportedInteractions

TypeScript
setSupportedInteractions(value: Array<UIActivityItemsConfigurationInteraction>): Promise<void>
Swift declaration
var supportedInteractions: [UIActivityItemsConfigurationInteraction] { get set }

Skipped declarations

5 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

UIActivityItemsConfiguration.metadataProvider

closure property answers its caller

UIActivityItemsConfiguration.perItemMetadataProvider

closure property answers its caller

UIActivityItemsConfiguration.previewProvider

closure property answers its caller

UIActivityItemsConfiguration.applicationActivitiesProvider

closure property answers its caller

UIActivityItemsConfiguration.init()

inherited init: cannot prove legal (class declares 2 custom initializers)

All UIKit types →