Message.newDeviceAdded

Creates a new device-added message. The device-added message is produced by #GstDeviceProvider or a #GstDeviceMonitor. They announce the appearance of monitored devices.

Parameters

srcThe #GstObject that created the message
deviceThe new #GstDevice

Returns

a newly allocated #GstMessage