Method

ValentDeviceref_channel

unstable since: 1.0

Declaration [src]

ValentChannel*
valent_device_ref_channel (
  ValentDevice* device
)

Description [src]

Get the active channel.

Available since: 1.0

Return value

Type: ValentChannel

A ValentChannel, or NULL if disconnected.

The caller of the method takes ownership of the data, and is responsible for freeing it.
The return value can be NULL.