Class SRDeviceUsageReport

  • All Implemented Interfaces:
    NSObject

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

      • SRDeviceUsageReport

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static SRDeviceUsageReport allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • applicationUsageByCategory

        @NotNull
        public @NotNull NSDictionary<java.lang.String,​? extends NSArray<? extends SRApplicationUsage>> applicationUsageByCategory()
        Usage time of applications per category category is the primary genre from the app's iTunesMetadata.plist.
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • 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()
      • duration

        public double duration()
        The duration of this report
      • 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)
      • notificationUsageByCategory

        @NotNull
        public @NotNull NSDictionary<java.lang.String,​? extends NSArray<? extends SRNotificationUsage>> notificationUsageByCategory()
        Usage time of notifications per category category is the primary genre from the notifying app's iTunesMetadata.plist.
      • 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()
      • totalScreenWakes

        public long totalScreenWakes()
        Total number of screen wakes over this duration
      • totalUnlockDuration

        public double totalUnlockDuration()
        Total amount of time the device was unlocked over this duration
      • totalUnlocks

        public long totalUnlocks()
        Total number of unlocks over this duration
      • webUsageByCategory

        @NotNull
        public @NotNull NSDictionary<java.lang.String,​? extends NSArray<? extends SRWebUsage>> webUsageByCategory()
        Usage time of web domains per category category based on the primary Screen Time category of the web domain
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.
      • version

        @NotNull
        public @NotNull java.lang.String version()
        Version of the algorithm used to produce the report API-Since: 16.4