Package apple.corespotlight.c
Class CoreSpotlight
- java.lang.Object
-
- apple.corespotlight.c.CoreSpotlight
-
public final class CoreSpotlight extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static doubleCoreSpotlightAPIVersion
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static doubleCoreSpotlightVersionNumber()! Project version number for CoreSpotlight.static org.moe.natj.general.ptr.ConstBytePtrCoreSpotlightVersionString()! Project version string for CoreSpotlight.static @NotNull java.lang.StringCSActionIdentifier()For custom actions on iOS, the userInfo dictionary also has another key value pair where CSActionIdentifier is the key and the value is the action tapped in the UI based on what was indexed by the app.static @NotNull java.lang.StringCSIndexErrorDomain()API-Since: 9.0static @NotNull java.lang.StringCSMailboxArchive()API-Since: 9.0static @NotNull java.lang.StringCSMailboxDrafts()API-Since: 9.0static @NotNull java.lang.StringCSMailboxInbox()Well-known mailbox identifiers API-Since: 9.0static @NotNull java.lang.StringCSMailboxJunk()API-Since: 9.0static @NotNull java.lang.StringCSMailboxSent()API-Since: 9.0static @NotNull java.lang.StringCSMailboxTrash()API-Since: 9.0static @NotNull 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 @NotNull 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 @NotNull java.lang.StringCSSearchableItemActivityIdentifier()API-Since: 9.0static @NotNull java.lang.StringCSSearchQueryErrorDomain()API-Since: 10.0static @NotNull java.lang.StringCSSearchQueryString()API-Since: 10.0static @NotNull java.lang.StringCSSuggestionHighlightAttributeName()API-Since: 16.0
-
-
-
Field Detail
-
CoreSpotlightAPIVersion
public static final double CoreSpotlightAPIVersion
- See Also:
- Constant Field Values
-
-
Method Detail
-
CSSearchableItemActionType
@NotNull public static @NotNull 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. API-Since: 9.0
-
CSSearchableItemActivityIdentifier
@NotNull public static @NotNull java.lang.String CSSearchableItemActivityIdentifier()
API-Since: 9.0
-
CSQueryContinuationActionType
@NotNull public static @NotNull 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 API-Since: 10.0
-
CSSearchQueryString
@NotNull public static @NotNull java.lang.String CSSearchQueryString()
API-Since: 10.0
-
CSIndexErrorDomain
@NotNull public static @NotNull java.lang.String CSIndexErrorDomain()
API-Since: 9.0
-
CSMailboxInbox
@NotNull public static @NotNull java.lang.String CSMailboxInbox()
Well-known mailbox identifiers API-Since: 9.0
-
CSMailboxDrafts
@NotNull public static @NotNull java.lang.String CSMailboxDrafts()
API-Since: 9.0
-
CSMailboxSent
@NotNull public static @NotNull java.lang.String CSMailboxSent()
API-Since: 9.0
-
CSMailboxJunk
@NotNull public static @NotNull java.lang.String CSMailboxJunk()
API-Since: 9.0
-
CSMailboxTrash
@NotNull public static @NotNull java.lang.String CSMailboxTrash()
API-Since: 9.0
-
CSMailboxArchive
@NotNull public static @NotNull java.lang.String CSMailboxArchive()
API-Since: 9.0
-
CSSearchQueryErrorDomain
@NotNull public static @NotNull java.lang.String CSSearchQueryErrorDomain()
API-Since: 10.0
-
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.
-
CSActionIdentifier
@NotNull public static @NotNull java.lang.String CSActionIdentifier()
For custom actions on iOS, the userInfo dictionary also has another key value pair where CSActionIdentifier is the key and the value is the action tapped in the UI based on what was indexed by the app. API-Since: 15.0
-
CSSuggestionHighlightAttributeName
@NotNull public static @NotNull java.lang.String CSSuggestionHighlightAttributeName()
API-Since: 16.0
-
-