Qmi.MessageWmsSetBroadcastConfigInput

Fields

None

Methods

class

new ()

get_channels ()

get_message_mode ()

ref ()

set_channels (value_channels_ptr)

set_message_mode (value_message_mode)

unref ()

Details

class Qmi.MessageWmsSetBroadcastConfigInput

The Qmi.MessageWmsSetBroadcastConfigInput structure contains private data and should only be accessed using the provided API.

New in version 1.38.

classmethod new()
Returns:

the newly created Qmi.MessageWmsSetBroadcastConfigInput. The returned value should be freed with Qmi.MessageWmsSetBroadcastConfigInput.unref().

Return type:

Qmi.MessageWmsSetBroadcastConfigInput

Allocates a new Qmi.MessageWmsSetBroadcastConfigInput.

New in version 1.38.

get_channels()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_channels_ptr:

a placeholder for the output array of Qmi.MessageWmsSetBroadcastConfigInputChannelsElement elements, or None if not required. Do not free or modify it, it is owned by self.

Return type:

(bool, value_channels_ptr: [Qmi.MessageWmsSetBroadcastConfigInputChannelsElement])

Get the ‘Channels’ field from self.

Version of Qmi.MessageWmsSetBroadcastConfigInput.get_channels() using arrays of pointers to structs instead of arrays of structs, for easier binding in other languages.

New in version 1.38.

get_message_mode()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_message_mode:

a placeholder for the output Qmi.WmsMessageMode, or None if not required.

Return type:

(bool, value_message_mode: Qmi.WmsMessageMode)

Get the ‘Message Mode’ field from self.

New in version 1.38.

ref()
Returns:

the new reference to self.

Return type:

Qmi.MessageWmsSetBroadcastConfigInput

Atomically increments the reference count of self by one.

New in version 1.38.

set_channels(value_channels_ptr)
Parameters:

value_channels_ptr ([Qmi.MessageWmsSetBroadcastConfigInputChannelsElement]) – array of Qmi.MessageWmsSetBroadcastConfigInputChannelsElement elements. The contents of the given array will be copied, the GLib.PtrArray will not increase its reference count.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Channels’ field in the message.

New in version 1.38.

set_message_mode(value_message_mode)
Parameters:

value_message_mode (Qmi.WmsMessageMode) – a Qmi.WmsMessageMode.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Message Mode’ field in the message.

New in version 1.38.

unref()

Atomically decrements the reference count of self by one. If the reference count drops to 0, self is completely disposed.

New in version 1.38.