start


Description:

public bool start ()

Starts monitoring the devices, once this has succeeded, the gst_message_device_added and gst_message_device_removed messages will be emitted on the bus when the list of devices changes.

Since 1.28, device providers are started asynchronously and gst_message_device_monitor_started will be emitted once the initial list of devices has been populated, signalling that monitor startup has completed.

The monitor will hold a strong reference to itself while it is populating devices asynchronously, so you must call stop before unreffing if you want monitoring to stop immediately.

Parameters:

this

A DeviceMonitor

Returns:

true if the device monitoring could be started, i.e. at least a single device provider was started successfully.