Qmi.MessageGmsTestSetValueInput

Fields

None

Methods

class new ()
  get_test_mandatory_value ()
  get_test_optional_value ()
  ref ()
  set_test_mandatory_value (value_test_mandatory_value)
  set_test_optional_value (value_test_optional_value)
  unref ()

Details

class Qmi.MessageGmsTestSetValueInput

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

New in version 1.26.

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

Allocates a new Qmi.MessageGmsTestSetValueInput.

New in version 1.26.

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

Get the ‘Test Mandatory Value’ field from self.

New in version 1.26.

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

Get the ‘Test Optional Value’ field from self.

New in version 1.26.

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

Atomically increments the reference count of self by one.

New in version 1.26.

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

Set the ‘Test Mandatory Value’ field in the message.

New in version 1.26.

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

Set the ‘Test Optional Value’ field in the message.

New in version 1.26.

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