Qmi.MessageDmsSetServiceProgrammingCodeInput

Fields

None

Methods

class new ()
  get_current (arg_current)
  get_current_code ()
  get_new (arg_new)
  get_new_code ()
  ref ()
  set_current (arg_current)
  set_current_code (value_current_code)
  set_new (arg_new)
  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.

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

New in version 1.0.

get_current(arg_current)
Parameters:arg_current (str) – a placeholder for the output constant string, or None if not required.
Raises:GLib.Error
Returns:True if the field is found, False otherwise.
Return type:bool

Get the ‘Current Code’ field from self.

New in version 1.0.

Deprecated since version 1.14.0: Use Qmi.MessageDmsSetServiceProgrammingCodeInput.get_current_code() instead.

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.

New in version 1.0.

get_new(arg_new)
Parameters:arg_new (str) – a placeholder for the output constant string, or None if not required.
Raises:GLib.Error
Returns:True if the field is found, False otherwise.
Return type:bool

Get the ‘New Code’ field from self.

New in version 1.0.

Deprecated since version 1.14.0: Use Qmi.MessageDmsSetServiceProgrammingCodeInput.get_new_code() instead.

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.

New in version 1.0.

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

Atomically increments the reference count of self by one.

New in version 1.0.

set_current(arg_current)
Parameters:arg_current (str) – a placeholder for the output constant string, or None if not required.
Raises:GLib.Error
Returns:True if the field is found, False otherwise.
Return type:bool

Get the ‘Current Code’ field from self.

New in version 1.0.

Deprecated since version 1.14.0: Use Qmi.MessageDmsSetServiceProgrammingCodeInput.set_current_code() instead.

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.

New in version 1.0.

set_new(arg_new)
Parameters:arg_new (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.

New in version 1.0.

Deprecated since version 1.14.0: Use Qmi.MessageDmsSetServiceProgrammingCodeInput.set_new_code() instead.

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.

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

New in version 1.0.