set_channels_sync


Description:

[ Version ( since = "1.24" ) ]
public bool set_channels_sync (CellBroadcastChannels channels, uint n_channels, Cancellable? cancellable = null) throws Error

Asynchronously set the MMCellbroadcastChannel s in the modem.

The calling thread is blocked until a reply is received. See set_channels for the asynchronous version of this method.

Parameters:

this

A ModemCellBroadcast.

channels

The MMCellbroadcastChannelss to set

n_channels

The number of elements in `channels`

cancellable

A Cancellable or null.

Returns:

true if the operation was successful, false if throws is set.