platypush.message.event.sound

class platypush.message.event.sound.SoundEvent(*args, **kwargs)[source]

Base class for sound events

__init__(*args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.sound.SoundPlaybackPausedEvent(*args, **kwargs)[source]

Event triggered when the sound playback pauses

__init__(*args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.sound.SoundPlaybackStartedEvent(filename=None, *args, **kwargs)[source]

Event triggered when a new sound playback starts

__init__(filename=None, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.sound.SoundPlaybackStoppedEvent(filename=None, *args, **kwargs)[source]

Event triggered when the sound playback stops

__init__(filename=None, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.sound.SoundRecordingPausedEvent(*args, **kwargs)[source]

Event triggered when a sound recording pauses

__init__(*args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.sound.SoundRecordingStartedEvent(filename=None, *args, **kwargs)[source]

Event triggered when a new recording starts

__init__(filename=None, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.sound.SoundRecordingStoppedEvent(filename=None, *args, **kwargs)[source]

Event triggered when a sound recording stops

__init__(filename=None, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]