cancelRequest
TypeScriptcancelRequest(error: NativeError): voidSwift declarationfunc cancelRequest(withError error: any Error)class · iOS 8.0+ · SDK 27.1
class NSExtensionContextcancelRequest(error: NativeError): voidSwift declarationfunc cancelRequest(withError error: any Error)completeRequest(items?: (Array<unknown>) | null, completionHandler?: (((arg0: boolean) => void)) | null): voidSwift declarationfunc completeRequest(returningItems items: [Any]?, completionHandler: (@Sendable (Bool) -> Void)? = nil)static init(): NSExtensionContextSwift declarationinit()open(URL: string, completionHandler?: (((arg0: boolean) => void)) | null): voidSwift declarationfunc open(_ URL: URL) async -> Boolget inputItems(): Array<unknown>Swift declarationvar inputItems: [Any] { get }No declarations were skipped in this snapshot.