Class CoreSpotlight


  • public final class CoreSpotlight
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static double CoreSpotlightVersionNumber()
      !
      static org.moe.natj.general.ptr.ConstBytePtr CoreSpotlightVersionString()
      !
      static java.lang.String CSIndexErrorDomain()  
      static java.lang.String CSMailboxArchive()  
      static java.lang.String CSMailboxDrafts()  
      static java.lang.String CSMailboxInbox()
      Well-known mailbox identifiers
      static java.lang.String CSMailboxJunk()  
      static java.lang.String CSMailboxSent()  
      static java.lang.String CSMailboxTrash()  
      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.
      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.
      static java.lang.String CSSearchableItemActivityIdentifier()  
      static java.lang.String CSSearchQueryErrorDomain()  
      static java.lang.String CSSearchQueryString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.