cancel
TypeScriptcancel(): voidSwift declarationfunc cancel()class · iOS 10.0+ · SDK 27.1
class CSSearchQuerycancel(): voidSwift declarationfunc cancel()static initQueryStringAttributes(queryString: string, attributes?: (Array<string>) | null): CSSearchQuerySwift declarationconvenience init(queryString: String, attributes: [String]?)static initQueryStringQueryContext(queryString: string, queryContext?: (CSSearchQueryContext) | null): CSSearchQuerySwift declarationinit(queryString: String, queryContext: CSSearchQueryContext?)start(): voidSwift declarationfunc start()get isCancelled(): booleanSwift declarationvar isCancelled: Bool { get }get completionHandler(): (((arg0: (NativeError) | null) => Promise<void>)) | nullSwift declarationvar completionHandler: (((any Error)?) -> Void)? { get set }set completionHandler(value: (((arg0: (NativeError) | null) => void)) | null)Swift declarationvar completionHandler: (((any Error)?) -> Void)? { get set }get foundItemCount(): numberSwift declarationvar foundItemCount: Int { get }get foundItemsHandler(): (((arg0: Array<CSSearchableItem>) => Promise<void>)) | nullSwift declarationvar foundItemsHandler: (([CSSearchableItem]) -> Void)? { get set }set foundItemsHandler(value: (((arg0: Array<CSSearchableItem>) => void)) | null)Swift declarationvar foundItemsHandler: (([CSSearchableItem]) -> Void)? { get set }get protectionClasses(): Array<_Foundation_FileProtectionType>Swift declarationvar protectionClasses: [FileProtectionType] { get set }set protectionClasses(value: Array<_Foundation_FileProtectionType>)Swift declarationvar protectionClasses: [FileProtectionType] { get set }get results(): CSSearchQuery_ResultsSwift declarationvar results: CSSearchQuery.Results { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
CSSearchQuery.init()
inherited init: cannot prove legal (class declares 2 custom initializers)