default
TypeScriptstatic default(): CSSearchableIndexSwift declarationclass func `default`() -> Selfclass · iOS 9.0+ · SDK 27.1
class CSSearchableIndexstatic default(): CSSearchableIndexSwift declarationclass func `default`() -> Selfstatic isIndexingAvailable(): booleanSwift declarationclass func isIndexingAvailable() -> BoolbeginBatch(): voidSwift declarationfunc beginBatch()deleteAllSearchableItems(completionHandler?: (((arg0: (NativeError) | null) => void)) | null): voidSwift declarationfunc deleteAllSearchableItems() async throwsdeleteSearchableItemsWithDomainIdentifiersCompletionHandler(domainIdentifiers: Array<string>, completionHandler?: (((arg0: (NativeError) | null) => void)) | null): voidSwift declarationfunc deleteSearchableItems(withDomainIdentifiers domainIdentifiers: [String]) async throwsdeleteSearchableItemsWithIdentifiersCompletionHandler(identifiers: Array<string>, completionHandler?: (((arg0: (NativeError) | null) => void)) | null): voidSwift declarationfunc deleteSearchableItems(withIdentifiers identifiers: [String]) async throwsendBatch(clientState: ArrayBuffer, completionHandler?: (((arg0: (NativeError) | null) => void)) | null): voidSwift declarationfunc endBatch(withClientState clientState: Data) async throwsendIndexBatch(expectedClientState: (ArrayBuffer) | null, newClientState: ArrayBuffer, completionHandler?: (((arg0: (NativeError) | null) => void)) | null): voidSwift declarationfunc endIndexBatch(expectedClientState: Data?, newClientState: Data) async throwsfetchLastClientState(completionHandler: ((arg0: (ArrayBuffer) | null, arg1: (NativeError) | null) => void)): voidSwift declarationfunc fetchLastClientState() async throws -> DataindexSearchableItems(items: Array<CSSearchableItem>, completionHandler?: (((arg0: (NativeError) | null) => void)) | null): voidSwift declarationfunc indexSearchableItems(_ items: [CSSearchableItem]) async throwsstatic initName(name: string): CSSearchableIndexSwift declarationinit(name: String)static initNameProtectionClass(name: string, protectionClass?: (_Foundation_FileProtectionType) | null): CSSearchableIndexSwift declarationinit(name: String, protectionClass: FileProtectionType?)get indexDelegate(): (SDKHandle) | nullSwift declarationweak var indexDelegate: (any CSSearchableIndexDelegate)? { get set }set indexDelegate(value: (SDKHandle) | null)Swift declarationweak var indexDelegate: (any CSSearchableIndexDelegate)? { get set }get protectionClass(): _Foundation_FileProtectionTypeSwift declarationvar protectionClass: FileProtectionType { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
CSSearchableIndex.init()
inherited init: cannot prove legal (class declares 2 custom initializers)