platypush.message.event.camera

class platypush.message.event.camera.CameraEvent(*args, **kwargs)[source]

Base class for camera 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.camera.CameraFrameCapturedEvent(filename=None, *args, **kwargs)[source]

Event triggered when a camera frame has been captured

__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.camera.CameraPictureTakenEvent(filename=None, *args, **kwargs)[source]

Event triggered when a snapshot has been taken

__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.camera.CameraRecordingStartedEvent(device_id, filename=None, *args, **kwargs)[source]

Event triggered when a new recording starts

__init__(device_id, 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.camera.CameraRecordingStoppedEvent(device_id, *args, **kwargs)[source]

Event triggered when a recording stops

__init__(device_id, *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.camera.CameraVideoRenderedEvent(filename=None, *args, **kwargs)[source]

Event triggered when a sequence of frames has been rendered into a video

__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]