Class SRApplicationUsage

  • All Implemented Interfaces:
    NSObject

    public class SRApplicationUsage
    extends NSObject
    API-Since: 14.0
    • Constructor Detail

      • SRApplicationUsage

        protected SRApplicationUsage​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static SRApplicationUsage allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • bundleIdentifier

        @Nullable
        public @Nullable java.lang.String bundleIdentifier()
        The bundle identifier of the app in use. Only populated for Apple apps.
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • reportApplicationIdentifier

        @NotNull
        public @NotNull java.lang.String reportApplicationIdentifier()
        [@property] reportApplicationIdentifier An application identifier that is valid for the duration of the report. This is useful for identifying distinct application uses within the same report duration without revealing the actual application identifier. API-Since: 15.0
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • textInputSessions

        @NotNull
        public @NotNull NSArray<? extends SRTextInputSession> textInputSessions()
        [@property] textInputSessions The text input session types that occurred during this application usage The list of text input sessions describes the order and type of text input that may have occured during an application usage. Multiple sessions of the same text input type will appear as separate array entries. If no text input occurred, this array will be empty. API-Since: 15.0
      • usageTime

        public double usageTime()
        The amount of time the app is used
      • version_static

        public static long version_static()
      • supplementalCategories

        @NotNull
        public @NotNull NSArray<? extends SRSupplementalCategory> supplementalCategories()
        [@property] supplementalCategories Additional categories that describe this app API-Since: 16.4
      • relativeStartTime

        public double relativeStartTime()
        [@property] relativeStartTime App start time relative to the first app start time in the report interval relativeStartTime value for the very first app in the report interval is equal to 0, N seconds for the seccond app and so on. This will allow to order app uses and determine the time between app uses. API-Since: 16.4
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.