Package apple.corespotlight.c
Class CoreSpotlight
- java.lang.Object
-
- apple.corespotlight.c.CoreSpotlight
-
public final class CoreSpotlight extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static doubleCoreSpotlightVersionNumber()!static org.moe.natj.general.ptr.ConstBytePtrCoreSpotlightVersionString()!static java.lang.StringCSIndexErrorDomain()static java.lang.StringCSMailboxArchive()static java.lang.StringCSMailboxDrafts()static java.lang.StringCSMailboxInbox()Well-known mailbox identifiersstatic java.lang.StringCSMailboxJunk()static java.lang.StringCSMailboxSent()static java.lang.StringCSMailboxTrash()static java.lang.StringCSQueryContinuationActionType()When continuing a query from Spotlight, the application's -application:willContinueUserActivityWithType: method will get called with CSQueryContinuationActionType, followed by -application:continueUserActivity:restorationHandler: with an NSUserActivity where the userInfo dictionary has a key value pair with CSSearchQueryString as the key and the value is the string the application should use when performing its query.static java.lang.StringCSSearchableItemActionType()When opening a document from Spotlight, the application's application:willContinueUserActivityWithType: method will get called with CSSearchableItemActionType, followed by application:continueUserActivity:restorationHandler: with an NSUserActivity where the userInfo dictionary has a key value pair where CSSearchableItemActivityIdentifier is the key and the value is the uniqueIdentifier used when creating the item.static java.lang.StringCSSearchableItemActivityIdentifier()static java.lang.StringCSSearchQueryErrorDomain()static java.lang.StringCSSearchQueryString()
-
-
-
Method Detail
-
CSSearchableItemActionType
public static java.lang.String CSSearchableItemActionType()
When opening a document from Spotlight, the application's application:willContinueUserActivityWithType: method will get called with CSSearchableItemActionType, followed by application:continueUserActivity:restorationHandler: with an NSUserActivity where the userInfo dictionary has a key value pair where CSSearchableItemActivityIdentifier is the key and the value is the uniqueIdentifier used when creating the item.
-
CSSearchableItemActivityIdentifier
public static java.lang.String CSSearchableItemActivityIdentifier()
-
CSQueryContinuationActionType
public static java.lang.String CSQueryContinuationActionType()
When continuing a query from Spotlight, the application's -application:willContinueUserActivityWithType: method will get called with CSQueryContinuationActionType, followed by -application:continueUserActivity:restorationHandler: with an NSUserActivity where the userInfo dictionary has a key value pair with CSSearchQueryString as the key and the value is the string the application should use when performing its query. The application should declare that it supports the query continuation by adding the CoreSpotlightContinuation key to its Info.plist:CoreSpotlightContinuation
-
CSSearchQueryString
public static java.lang.String CSSearchQueryString()
-
CSIndexErrorDomain
public static java.lang.String CSIndexErrorDomain()
-
CSMailboxInbox
public static java.lang.String CSMailboxInbox()
Well-known mailbox identifiers
-
CSMailboxDrafts
public static java.lang.String CSMailboxDrafts()
-
CSMailboxSent
public static java.lang.String CSMailboxSent()
-
CSMailboxJunk
public static java.lang.String CSMailboxJunk()
-
CSMailboxTrash
public static java.lang.String CSMailboxTrash()
-
CSMailboxArchive
public static java.lang.String CSMailboxArchive()
-
CSSearchQueryErrorDomain
public static java.lang.String CSSearchQueryErrorDomain()
-
CoreSpotlightVersionNumber
public static double CoreSpotlightVersionNumber()
! Project version number for CoreSpotlight.
-
CoreSpotlightVersionString
public static org.moe.natj.general.ptr.ConstBytePtr CoreSpotlightVersionString()
! Project version string for CoreSpotlight.
-
-