Qmi.MessageLocInjectUtcTimeInput¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class Qmi.MessageLocInjectUtcTimeInput¶
The
Qmi.MessageLocInjectUtcTimeInputstructure contains private data and should only be accessed using the provided API.New in version 1.37.
- classmethod new()¶
- Returns:
the newly created
Qmi.MessageLocInjectUtcTimeInput. The returned value should be freed withQmi.MessageLocInjectUtcTimeInput.unref().- Return type:
Allocates a new
Qmi.MessageLocInjectUtcTimeInput.New in version 1.37.
- get_time_source()¶
- Raises:
- Returns:
Trueif the field is found,Falseotherwise.- value_time_source:
a placeholder for the output
Qmi.LocInjectedTimeSource, orNoneif not required.
- Return type:
(
bool, value_time_source:Qmi.LocInjectedTimeSource)
Get the ‘Time Source’ field from self.
New in version 1.37.
- get_time_uncertainty()¶
- Raises:
- Returns:
Trueif the field is found,Falseotherwise.- value_time_uncertainty:
a placeholder for the output #guint32, or
Noneif not required.
- Return type:
Get the ‘Time Uncertainty’ field from self.
New in version 1.37.
- get_utc_time()¶
- Raises:
- Returns:
Trueif the field is found,Falseotherwise.- value_utc_time:
a placeholder for the output #guint64, or
Noneif not required.
- Return type:
Get the ‘UTC Time’ field from self.
New in version 1.37.
- ref()¶
- Returns:
the new reference to self.
- Return type:
Atomically increments the reference count of self by one.
New in version 1.37.
- set_time_source(value_time_source)¶
- Parameters:
value_time_source (
Qmi.LocInjectedTimeSource) – aQmi.LocInjectedTimeSource.- Raises:
- Returns:
- Return type:
Set the ‘Time Source’ field in the message.
New in version 1.37.
- set_time_uncertainty(value_time_uncertainty)¶
- Parameters:
value_time_uncertainty (
int) – a #guint32.- Raises:
- Returns:
- Return type:
Set the ‘Time Uncertainty’ field in the message.
New in version 1.37.
- set_utc_time(value_utc_time)¶
- Parameters:
value_utc_time (
int) – a #guint64.- Raises:
- Returns:
- Return type:
Set the ‘UTC Time’ field in the message.
New in version 1.37.
- 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.37.