Class MPRemoteCommandHandlerStatus


  • public final class MPRemoteCommandHandlerStatus
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long CommandFailed
      The command could not be executed for another reason.
      static long DeviceNotFound
      The command could not be executed because a device required is not available.
      static long NoActionableNowPlayingItem
      The command could not be executed because there is no now playing item available that is required for this command.
      static long NoSuchContent
      The command could not be executed because the requested content does not exist in the current application state.
      static long Success
      There was no error executing the requested command.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Success

        public static final long Success
        There was no error executing the requested command.
        See Also:
        Constant Field Values
      • NoSuchContent

        public static final long NoSuchContent
        The command could not be executed because the requested content does not exist in the current application state.
        See Also:
        Constant Field Values
      • NoActionableNowPlayingItem

        public static final long NoActionableNowPlayingItem
        The command could not be executed because there is no now playing item available that is required for this command. As an example, an application would return this error code if an "enable language option" command is received, but nothing is currently playing.
        See Also:
        Constant Field Values
      • CommandFailed

        public static final long CommandFailed
        The command could not be executed for another reason.
        See Also:
        Constant Field Values
      • DeviceNotFound

        public static final long DeviceNotFound
        The command could not be executed because a device required is not available. For instance, if headphones are required, or if a watch app realizes that it needs the companion to fulfull a request.
        See Also:
        Constant Field Values