Qmi.MessageDmsSetServiceProgrammingCodeInput

Fields

None

Methods

class

new ()

get_current_code ()

get_new_code ()

ref ()

set_current_code (value_current_code)

set_new_code (value_new_code)

unref ()

Details

class Qmi.MessageDmsSetServiceProgrammingCodeInput

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

Added in version 1.0.

classmethod new()
Returns:

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

Return type:

Qmi.MessageDmsSetServiceProgrammingCodeInput

Allocates a new Qmi.MessageDmsSetServiceProgrammingCodeInput.

Added in version 1.0.

get_current_code()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_current_code:

a placeholder for the output constant string, or None if not required.

Return type:

(bool, value_current_code: str)

Get the ‘Current Code’ field from self.

Added in version 1.0.

get_new_code()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_new_code:

a placeholder for the output constant string, or None if not required.

Return type:

(bool, value_new_code: str)

Get the ‘New Code’ field from self.

Added in version 1.0.

ref()
Returns:

the new reference to self.

Return type:

Qmi.MessageDmsSetServiceProgrammingCodeInput

Atomically increments the reference count of self by one.

Added in version 1.0.

set_current_code(value_current_code)
Parameters:

value_current_code (str) – a constant string of exactly 6 characters.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Current Code’ field in the message.

Added in version 1.0.

set_new_code(value_new_code)
Parameters:

value_new_code (str) – a constant string of exactly 6 characters.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘New Code’ field in the message.

Added in version 1.0.

unref()

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

Added in version 1.0.