Module media_playback

Module media_playback 

Source
Expand description

Matter TLV encoders and decoders for Media Playback Cluster Cluster ID: 0x0506

This file is automatically generated from MediaPlayback.xml

Structs§

PlaybackPosition
PlaybackResponse
StateChangedEvent
Track
TrackAttributes

Enums§

Characteristic
PlaybackState
Status

Functions§

activate_audio_track
Invoke ActivateAudioTrack command on cluster Media Playback.
activate_text_track
Invoke ActivateTextTrack command on cluster Media Playback.
deactivate_text_track
Invoke DeactivateTextTrack command on cluster Media Playback.
decode_active_audio_track
Decode ActiveAudioTrack attribute (0x0007)
decode_active_text_track
Decode ActiveTextTrack attribute (0x0009)
decode_attribute_json
Decode attribute value and return as JSON string
decode_available_audio_tracks
Decode AvailableAudioTracks attribute (0x0008)
decode_available_text_tracks
Decode AvailableTextTracks attribute (0x000A)
decode_current_state
Decode CurrentState attribute (0x0000)
decode_duration
Decode Duration attribute (0x0002)
decode_playback_response
Decode PlaybackResponse command response (0A)
decode_playback_speed
Decode PlaybackSpeed attribute (0x0004)
decode_sampled_position
Decode SampledPosition attribute (0x0003)
decode_seek_range_end
Decode SeekRangeEnd attribute (0x0005)
decode_seek_range_start
Decode SeekRangeStart attribute (0x0006)
decode_start_time
Decode StartTime attribute (0x0001)
decode_state_changed_event
Decode StateChanged event (0x00, priority: info)
encode_activate_audio_track
Encode ActivateAudioTrack command (0x0C)
encode_activate_text_track
Encode ActivateTextTrack command (0x0D)
encode_command_json
encode_fast_forward
Encode FastForward command (0x07)
encode_rewind
Encode Rewind command (0x06)
encode_seek
Encode Seek command (0x0B)
encode_skip_backward
Encode SkipBackward command (0x09)
encode_skip_forward
Encode SkipForward command (0x08)
fast_forward
Invoke FastForward command on cluster Media Playback.
get_attribute_list
Get list of all attributes supported by this cluster
get_command_list
get_command_name
get_command_schema
next
Invoke Next command on cluster Media Playback.
pause
Invoke Pause command on cluster Media Playback.
play
Invoke Play command on cluster Media Playback.
previous
Invoke Previous command on cluster Media Playback.
read_active_audio_track
Read ActiveAudioTrack attribute from cluster Media Playback.
read_active_text_track
Read ActiveTextTrack attribute from cluster Media Playback.
read_available_audio_tracks
Read AvailableAudioTracks attribute from cluster Media Playback.
read_available_text_tracks
Read AvailableTextTracks attribute from cluster Media Playback.
read_current_state
Read CurrentState attribute from cluster Media Playback.
read_duration
Read Duration attribute from cluster Media Playback.
read_playback_speed
Read PlaybackSpeed attribute from cluster Media Playback.
read_sampled_position
Read SampledPosition attribute from cluster Media Playback.
read_seek_range_end
Read SeekRangeEnd attribute from cluster Media Playback.
read_seek_range_start
Read SeekRangeStart attribute from cluster Media Playback.
read_start_time
Read StartTime attribute from cluster Media Playback.
rewind
Invoke Rewind command on cluster Media Playback.
seek
Invoke Seek command on cluster Media Playback.
skip_backward
Invoke SkipBackward command on cluster Media Playback.
skip_forward
Invoke SkipForward command on cluster Media Playback.
start_over
Invoke StartOver command on cluster Media Playback.
stop
Invoke Stop command on cluster Media Playback.