Qmi.MessageDmsSetTimeInput

Fields

None

Methods

class

new ()

get_time_reference_type ()

get_time_value ()

ref ()

set_time_reference_type (value_time_reference_type)

set_time_value (value_time_value)

unref ()

Details

class Qmi.MessageDmsSetTimeInput

The Qmi.MessageDmsSetTimeInput 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.MessageDmsSetTimeInput. The returned value should be freed with Qmi.MessageDmsSetTimeInput.unref().

Return type:

Qmi.MessageDmsSetTimeInput

Allocates a new Qmi.MessageDmsSetTimeInput.

Added in version 1.0.

get_time_reference_type()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_time_reference_type:

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

Return type:

(bool, value_time_reference_type: Qmi.DmsTimeReferenceType)

Get the ‘Time Reference Type’ field from self.

Added in version 1.0.

get_time_value()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_time_value:

a placeholder for the output #guint64, or None if not required.

Return type:

(bool, value_time_value: int)

Get the ‘Time Value’ field from self.

Added in version 1.0.

ref()
Returns:

the new reference to self.

Return type:

Qmi.MessageDmsSetTimeInput

Atomically increments the reference count of self by one.

Added in version 1.0.

set_time_reference_type(value_time_reference_type)
Parameters:

value_time_reference_type (Qmi.DmsTimeReferenceType) – a Qmi.DmsTimeReferenceType.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Time Reference Type’ field in the message.

Added in version 1.0.

set_time_value(value_time_value)
Parameters:

value_time_value (int) – a #guint64.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Time Value’ 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.