Class SRKeyboardMetrics

  • All Implemented Interfaces:
    NSObject

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

      • SRKeyboardMetrics

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static SRKeyboardMetrics allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • 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)
      • charKeyToAnyTapKey

        @NotNull
        public @NotNull SRKeyboardProbabilityMetric<NSUnitDuration> charKeyToAnyTapKey()
        The duration between touchup on a character key and touch down on the next sequential key (any key)
      • charKeyToPlaneChangeKey

        @NotNull
        public @NotNull SRKeyboardProbabilityMetric<NSUnitDuration> charKeyToPlaneChangeKey()
        The duration between touchup of a character key and touch down of a sequential plane change key
      • charKeyToPrediction

        @NotNull
        public @NotNull SRKeyboardProbabilityMetric<NSUnitDuration> charKeyToPrediction()
        The duration between touchup on a character key and touch down on a word in the prediction bar
      • 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()
      • deleteToPlaneChangeKey

        @NotNull
        public @NotNull SRKeyboardProbabilityMetric<NSUnitDuration> deleteToPlaneChangeKey()
        The duration between touchup of a delete key and touch down of a sequential plane change key
      • description_static

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

        public double duration()
        The duration over which these metrics were calculated
      • emojiCountForSentimentCategory

        public long emojiCountForSentimentCategory​(long category)
        The count of emoji typed per category in the session
      • hash_static

        public static long hash_static()
      • inputModes

        @NotNull
        public @NotNull NSArray<java.lang.String> inputModes()
        The input modes used during a keyboard session API-Since: 15.0
      • 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)
      • keyboardIdentifier

        @NotNull
        public @NotNull java.lang.String keyboardIdentifier()
        The identifier of the keyboard in the keyboard list
      • longWordDownErrorDistance

        @NotNull
        public @NotNull NSArray<? extends SRKeyboardProbabilityMetric<NSUnitLength>> longWordDownErrorDistance()
        The distance from the touch down to the center of the intended key of the characters of a long word
      • longWordTouchDownDown

        @NotNull
        public @NotNull NSArray<? extends SRKeyboardProbabilityMetric<NSUnitDuration>> longWordTouchDownDown()
        The duration between touch down and touch down of the character keys of all the long words in the session.
      • longWordUpErrorDistance

        @NotNull
        public @NotNull NSArray<? extends SRKeyboardProbabilityMetric<NSUnitLength>> longWordUpErrorDistance()
        The distance from the touch up to the center of the intended key of the characters of a long word
      • pathErrorDistanceRatio

        @NotNull
        public @NotNull NSArray<? extends NSNumber> pathErrorDistanceRatio()
        sample values of the ratio of error distance between intended and actual path
      • pathTypingSpeed

        public double pathTypingSpeed()
        The words per minute typed using continuous path during the session
      • planeChangeToAnyTap

        @NotNull
        public @NotNull SRKeyboardProbabilityMetric<NSUnitDuration> planeChangeToAnyTap()
        The duration between touchup on a plane change key and touch down on the next sequential key
      • 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)
      • shortWordCharKeyDownErrorDistance

        @NotNull
        public @NotNull SRKeyboardProbabilityMetric<NSUnitLength> shortWordCharKeyDownErrorDistance()
        The distance from the touch down to the center of the intended key of a character in a short word
      • shortWordCharKeyToCharKey

        @NotNull
        public @NotNull SRKeyboardProbabilityMetric<NSUnitDuration> shortWordCharKeyToCharKey()
        The duration between touchup on a character key and touch down on any sequential character key in a short word
      • shortWordCharKeyTouchDownUp

        @NotNull
        public @NotNull SRKeyboardProbabilityMetric<NSUnitDuration> shortWordCharKeyTouchDownUp()
        The duration between touch down and touchup of all character keys in short words in the session.
      • shortWordCharKeyUpErrorDistance

        @NotNull
        public @NotNull SRKeyboardProbabilityMetric<NSUnitLength> shortWordCharKeyUpErrorDistance()
        The distance from the touch up to the center of the intended key of a character in a short word
      • spaceToPlaneChangeKey

        @NotNull
        public @NotNull SRKeyboardProbabilityMetric<NSUnitDuration> spaceToPlaneChangeKey()
        The duration between touchup of a space key and touch down of a sequential plane change key
      • spaceToPredictionKey

        @NotNull
        public @NotNull SRKeyboardProbabilityMetric<NSUnitDuration> spaceToPredictionKey()
        The duration between touchup on the space key and touch down of a sequential selection from the prediction bar
      • superclass_static

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

        public long totalAlteredWords()
        The total number of altered words during the session
      • totalAutoCorrections

        public long totalAutoCorrections()
        The total number of autocorrections in the session
      • totalDeletes

        public long totalDeletes()
        The total number of deletes during the session
      • totalDrags

        public long totalDrags()
        The total number of drags during the session
      • totalEmojis

        public long totalEmojis()
        The total number of emojis used during the session
      • totalHitTestCorrections

        public long totalHitTestCorrections()
        The total number of hit test corrections in the session
      • totalInsertKeyCorrections

        public long totalInsertKeyCorrections()
        The total number of insert key corrections in the session
      • totalNearKeyCorrections

        public long totalNearKeyCorrections()
        The total number of near key corrections in the session
      • totalPathLength

        @NotNull
        public @NotNull NSMeasurement<NSUnitLength> totalPathLength()
        The total length of paths completed in the session
      • totalPathPauses

        public long totalPathPauses()
        The total number of pauses made while entering the path for any words composed using continuous path during the session
      • totalPathTime

        public double totalPathTime()
        The total time taken to complete paths in the session
      • totalPaths

        public long totalPaths()
        The total number of paths used during the sesion
      • totalPauses

        public long totalPauses()
        The total number of pauses during the session
      • totalRetroCorrections

        public long totalRetroCorrections()
        The total number of retro corrections in the session
      • totalSkipTouchCorrections

        public long totalSkipTouchCorrections()
        The total number of skip touch corrections in the session
      • totalSpaceCorrections

        public long totalSpaceCorrections()
        The total number of space corrections in the session
      • totalSubstitutionCorrections

        public long totalSubstitutionCorrections()
        The total number of substitution corrections in the session
      • totalTaps

        public long totalTaps()
        The total number of taps during the session
      • totalTranspositionCorrections

        public long totalTranspositionCorrections()
        The total number of transposition corrections in the session
      • totalTypingDuration

        public double totalTypingDuration()
        The total amount of time typing during the session
      • totalTypingEpisodes

        public long totalTypingEpisodes()
        Total number of continuous typing episodes during the session
      • totalWords

        public long totalWords()
        The total number of words typed during the session
      • typingSpeed

        public double typingSpeed()
        The words per minute typed during the session
      • version

        @NotNull
        public @NotNull java.lang.String version()
        The version of keyboard metrics
      • wordCountForSentimentCategory

        public long wordCountForSentimentCategory​(long category)
        The count of words typed per category in the session
      • longWordTouchUpDown

        @NotNull
        public @NotNull NSArray<? extends SRKeyboardProbabilityMetric<NSUnitDuration>> longWordTouchUpDown()
        The duration between touch up and touch down of the character keys of all the long words in the session. API-Since: 16.4
      • sessionIdentifiers

        @NotNull
        public @NotNull NSArray<java.lang.String> sessionIdentifiers()
        The keyboard session identifiers. These are the identifiers of the keyboard sessions that contributed to keyboard metrics sample to correlate current stream with another stream using the same keyboard session indentifiers API-Since: 16.4
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.