Qmi.MessagePdcActivateConfigInput

Fields

None

Methods

class new ()
  get_config_type ()
  get_token ()
  ref ()
  set_config_type (value_config_type)
  set_token (value_token)
  unref ()

Details

class Qmi.MessagePdcActivateConfigInput

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

New in version 1.18.

classmethod new()
Returns:the newly created Qmi.MessagePdcActivateConfigInput. The returned value should be freed with Qmi.MessagePdcActivateConfigInput.unref().
Return type:Qmi.MessagePdcActivateConfigInput

Allocates a new Qmi.MessagePdcActivateConfigInput.

New in version 1.18.

get_config_type()
Raises:GLib.Error
Returns:True if the field is found, False otherwise.
value_config_type:
 a placeholder for the output Qmi.PdcConfigurationType, or None if not required.
Return type:(bool, value_config_type: Qmi.PdcConfigurationType)

Get the ‘Config Type’ field from self.

New in version 1.18.

get_token()
Raises:GLib.Error
Returns:True if the field is found, False otherwise.
value_token:a placeholder for the output #guint32, or None if not required.
Return type:(bool, value_token: int)

Get the ‘Token’ field from self.

New in version 1.18.

ref()
Returns:the new reference to self.
Return type:Qmi.MessagePdcActivateConfigInput

Atomically increments the reference count of self by one.

New in version 1.18.

set_config_type(value_config_type)
Parameters:value_config_type (Qmi.PdcConfigurationType) – a Qmi.PdcConfigurationType.
Raises:GLib.Error
Returns:True if value was successfully set, False otherwise.
Return type:bool

Set the ‘Config Type’ field in the message.

New in version 1.18.

set_token(value_token)
Parameters:value_token (int) – a #guint32.
Raises:GLib.Error
Returns:True if value was successfully set, False otherwise.
Return type:bool

Set the ‘Token’ field in the message.

New in version 1.18.

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.18.