示例#1
0
 def home_hold(self):
     """Hold key home."""
     raise exceptions.NotSupportedError()
示例#2
0
 async def turn_off(self):
     """Turn device off."""
     raise exceptions.NotSupportedError()
示例#3
0
 async def close(self):
     """Close connection and release allocated resources."""
     raise exceptions.NotSupportedError()
示例#4
0
    def start(self, initial_delay=0):
        """Begin to listen to updates.

        If an error occurs, start must be called again.
        """
        raise exceptions.NotSupportedError()
示例#5
0
 def play_url(self, url, **kwargs):
     """Play media from an URL on the device."""
     raise exceptions.NotSupportedError()
示例#6
0
 def artwork(self):
     """Return artwork for what is currently playing (or None)."""
     raise exceptions.NotSupportedError()
示例#7
0
 def playing(self):
     """Return what is currently playing."""
     raise exceptions.NotSupportedError()
示例#8
0
 def set_repeat(self, repeat_state):
     """Change repeat state."""
     raise exceptions.NotSupportedError()
示例#9
0
 def media_type(self):
     """Type of media is currently playing, e.g. video, music."""
     raise exceptions.NotSupportedError()
示例#10
0
 def set_position(self, pos):
     """Seek in the current playing media."""
     raise exceptions.NotSupportedError()
示例#11
0
 def set_shuffle(self, shuffle_state):
     """Change shuffle mode to on or off."""
     raise exceptions.NotSupportedError()
示例#12
0
 def wakeup(self):
     """Wake up the device."""
     raise exceptions.NotSupportedError()
示例#13
0
 def suspend(self):
     """Suspend the device."""
     raise exceptions.NotSupportedError()
示例#14
0
 def top_menu(self):
     """Go to main menu (long press menu)."""
     raise exceptions.NotSupportedError()
示例#15
0
 def shuffle(self):
     """If shuffle is enabled or not."""
     raise exceptions.NotSupportedError()
示例#16
0
 def device_state(self):
     """Device state, e.g. playing or paused."""
     raise exceptions.NotSupportedError()
示例#17
0
 def repeat(self):
     """Repeat mode."""
     raise exceptions.NotSupportedError()
示例#18
0
 def title(self):
     """Title of the current media, e.g. movie or song name."""
     raise exceptions.NotSupportedError()
示例#19
0
 def artwork_id(self):
     """Return a unique identifier for current artwork."""
     raise exceptions.NotSupportedError()
示例#20
0
 def artist(self):
     """Artist of the currently playing song."""
     raise exceptions.NotSupportedError()
示例#21
0
 def active(self):
     """Return if push updater has been started."""
     raise exceptions.NotSupportedError()
示例#22
0
 def album(self):
     """Album of the currently playing song."""
     raise exceptions.NotSupportedError()
示例#23
0
 def stop(self):
     """No longer forward updates to listener."""
     raise exceptions.NotSupportedError()
示例#24
0
 def genre(self):
     """Genre of the currently playing song."""
     raise exceptions.NotSupportedError()
示例#25
0
 def power_state(self):
     """Return device power state."""
     raise exceptions.NotSupportedError()
示例#26
0
 def total_time(self):
     """Total play time in seconds."""
     raise exceptions.NotSupportedError()
示例#27
0
    async def connect(self):
        """Initiate connection to device.

        No need to call it yourself, it's done automatically.
        """
        raise exceptions.NotSupportedError()
示例#28
0
 def position(self):
     """Position in the playing media (seconds)."""
     raise exceptions.NotSupportedError()
示例#29
0
 def service(self):
     """Return service used to connect to the Apple TV."""
     raise exceptions.NotSupportedError()
示例#30
0
 def home(self):
     """Press key home."""
     raise exceptions.NotSupportedError()