Class MSServiceAccount

  • All Implemented Interfaces:
    NSObject

    public class MSServiceAccount
    extends NSObject
    Account details for accessing a streaming media service. API-Since: 14.0
    • Constructor Detail

      • MSServiceAccount

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • accountName

        @NotNull
        public @NotNull java.lang.String accountName()
        The user’s display name, email address, or other identifier in a streaming media service.
      • allocWithZone

        public static MSServiceAccount allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • authorizationScope

        @Nullable
        public @Nullable java.lang.String authorizationScope()
        A list of permissions for the token request. The authorization scope is an optional OAuth 2.0 scope parameter the system provides when requesting a token.
      • authorizationTokenURL

        @Nullable
        public @Nullable NSURL authorizationTokenURL()
        A URL that provides a token for the user’s HomePod speakers. The authorization token URL is an OAuth 2.0 token service endpoint that provides a Bearer Token for retrieving 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()
      • clientID

        @Nullable
        public @Nullable java.lang.String clientID()
        A user identifier for the token request. The Media Setup framework uses the ``MSServiceAccount/clientID`` to create a token request. You can choose the identifier format, but the identifier must be unique to the current account. You can provide a new identifier each time the user begins the home setup.
      • clientSecret

        @Nullable
        public @Nullable java.lang.String clientSecret()
        A string that authenticates the user’s setup request. The Media Setup framework uses the `clientSecret` to create a token request. Hashed passwords are acceptable, but plaintext passwords aren't.
      • configurationURL

        @Nullable
        public @Nullable NSURL configurationURL()
        The path to access the configuration endpoint of your streaming media service for the home. The device retrieves the configuration with the OAuth 2.0 Bearer token.
      • 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()
      • initWithServiceNameAccountName

        public MSServiceAccount initWithServiceNameAccountName​(@NotNull
                                                               @NotNull java.lang.String serviceName,
                                                               @NotNull
                                                               @NotNull java.lang.String accountName)
        Creates a new account. - Parameters: - serviceName: The name of the streaming media service. - accountName: The user’s display name in the streaming media service.
      • 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)
      • resolveClassMethod

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

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

        @NotNull
        public @NotNull java.lang.String serviceName()
        The localized name of the streaming media service.
      • setAuthorizationScope

        public void setAuthorizationScope​(@Nullable
                                          @Nullable java.lang.String value)
        A list of permissions for the token request. The authorization scope is an optional OAuth 2.0 scope parameter the system provides when requesting a token.
      • setAuthorizationTokenURL

        public void setAuthorizationTokenURL​(@Nullable
                                             @Nullable NSURL value)
        A URL that provides a token for the user’s HomePod speakers. The authorization token URL is an OAuth 2.0 token service endpoint that provides a Bearer Token for retrieving configuration.
      • setClientID

        public void setClientID​(@Nullable
                                @Nullable java.lang.String value)
        A user identifier for the token request. The Media Setup framework uses the ``MSServiceAccount/clientID`` to create a token request. You can choose the identifier format, but the identifier must be unique to the current account. You can provide a new identifier each time the user begins the home setup.
      • setClientSecret

        public void setClientSecret​(@Nullable
                                    @Nullable java.lang.String value)
        A string that authenticates the user’s setup request. The Media Setup framework uses the `clientSecret` to create a token request. Hashed passwords are acceptable, but plaintext passwords aren't.
      • setConfigurationURL

        public void setConfigurationURL​(@Nullable
                                        @Nullable NSURL value)
        The path to access the configuration endpoint of your streaming media service for the home. The device retrieves the configuration with the OAuth 2.0 Bearer token.
      • 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()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.