Class ACAccount

  • All Implemented Interfaces:
    NSObject

    public class ACAccount
    extends NSObject
    The ACAccount class represents an account stored on the system. Accounts are created not bound to any store. Once an account is saved it belongs to the store it was saved into.
    • Constructor Detail

      • ACAccount

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

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

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

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

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

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

        public static 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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • 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()
      • version_static

        public static long version_static()
      • accountDescription

        public java.lang.String accountDescription()
        A human readable description of the account. This property is only available to applications that have been granted access to the account by the user.
      • accountType

        public ACAccountType accountType()
        Accounts are stored with a particular account type. All available accounts of a particular type can be looked up using [ACAccountStore accountsWithAccountType:]. When creating new accounts this property is required.
      • credential

        public ACAccountCredential credential()
        The credential for the account. This property can be set and saved during account creation. It is inaccessible once the account has been saved. WARNING: Backed by a synchronous xpc call to accountsd, not appropriate to call on a UI Application's main thread
      • identifier

        public java.lang.String identifier()
        This identifier can be used to look up the account using [ACAccountStore accountWithIdentifier:].
      • initWithAccountType

        public ACAccount initWithAccountType​(ACAccountType type)
        Creates a new account object with a specified account type.
      • setAccountDescription

        public void setAccountDescription​(java.lang.String value)
        A human readable description of the account. This property is only available to applications that have been granted access to the account by the user.
      • setAccountType

        public void setAccountType​(ACAccountType value)
        Accounts are stored with a particular account type. All available accounts of a particular type can be looked up using [ACAccountStore accountsWithAccountType:]. When creating new accounts this property is required.
      • setCredential

        public void setCredential​(ACAccountCredential value)
        The credential for the account. This property can be set and saved during account creation. It is inaccessible once the account has been saved. WARNING: Backed by a synchronous xpc call to accountsd, not appropriate to call on a UI Application's main thread
      • setUsername

        public void setUsername​(java.lang.String value)
        The username for the account. This property can be set and saved during account creation. The username is only available to applications that have been granted access to the account by the user.
      • userFullName

        public java.lang.String userFullName()
        For accounts that support it (currently only Facebook accounts), you can get the user's full name for display purposes without having to talk to the network.
      • username

        public java.lang.String username()
        The username for the account. This property can be set and saved during account creation. The username is only available to applications that have been granted access to the account by the user.