Class TKTokenDriverConfiguration

  • All Implemented Interfaces:
    NSObject

    public class TKTokenDriverConfiguration
    extends NSObject
    Holds configuration of one class of tokens API-Since: 14.0
    • Constructor Detail

      • TKTokenDriverConfiguration

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • addTokenConfigurationForTokenInstanceID

        @NotNull
        public @NotNull TKTokenConfiguration addTokenConfigurationForTokenInstanceID​(@NotNull
                                                                                     @NotNull java.lang.String instanceID)
        Creates new configuration object for token with specified instanceID and adds it into tokenConfigurations dictionary. If configuration with specified instanceID already exists, it is replaced with new empty configuration.
      • 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()
      • classID

        @NotNull
        public @NotNull java.lang.String classID()
        ClassID of the token configuration. ClassID is taken from @p com.apple.ctk.class-id token extension attribute.
      • debugDescription_static

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

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

        @NotNull
        public static @NotNull NSDictionary<java.lang.String,​? extends TKTokenDriverConfiguration> driverConfigurations()
        Contains dictionary of token class configurations keyed by TKTokenDriverClassID of token driver. Hosting application of token extension will contain the list of configurations for hosted token extensions. All other callers will get an empty array. This means that only token's hosting application can actually modify token's configuration. Typically, hosting application will contain only one token extension, therefore this dictionary will have one element.
      • 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)
      • removeTokenConfigurationForTokenInstanceID

        public void removeTokenConfigurationForTokenInstanceID​(@NotNull
                                                               @NotNull java.lang.String instanceID)
        Removes configuration with specified tokenID. Does nothing if no such token configuration exists.
      • 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()
      • tokenConfigurations

        @NotNull
        public @NotNull NSDictionary<java.lang.String,​? extends TKTokenConfiguration> tokenConfigurations()
        Dictionary of all currently configured tokens for this token class, keyed by instanceID.
      • version_static

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.