set_channels


Description:

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

Asynchronously set the MMCellbroadcastChannel s in the modem.

When the operation is finished, callback will be invoked in the <link linkend="g-main-context-push-thread-default"> thread-default main loop</link> of the thread you are calling this method from. You can then call set_channels.end to get the result of the operation.

See set_channels_sync for the synchronous, blocking 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.

callback

A TaskReadyCallback to call when the request is satisfied or null

user_data

User data to pass to callback.