Qmi.MessageLocInjectPredictedOrbitsDataInput

Fields

None

Methods

class new ()
  get_format_type ()
  get_part_data ()
  get_part_number ()
  get_total_parts ()
  get_total_size ()
  ref ()
  set_format_type (value_format_type)
  set_part_data (value_part_data)
  set_part_number (value_part_number)
  set_total_parts (value_total_parts)
  set_total_size (value_total_size)
  unref ()

Details

class Qmi.MessageLocInjectPredictedOrbitsDataInput

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

New in version 1.22.

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

Allocates a new Qmi.MessageLocInjectPredictedOrbitsDataInput.

New in version 1.22.

get_format_type()
Raises:GLib.Error
Returns:True if the field is found, False otherwise.
value_format_type:
 a placeholder for the output Qmi.LocPredictedOrbitsDataFormat, or None if not required.
Return type:(bool, value_format_type: Qmi.LocPredictedOrbitsDataFormat)

Get the ‘Format Type’ field from self.

New in version 1.22.

get_part_data()
Raises:GLib.Error
Returns:True if the field is found, False otherwise.
value_part_data:
 a placeholder for the output GLib.Array of #guint8 elements, or None if not required. Do not free it, it is owned by self.
Return type:(bool, value_part_data: bytes)

Get the ‘Part Data’ field from self.

New in version 1.22.

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

Get the ‘Part Number’ field from self.

New in version 1.22.

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

Get the ‘Total Parts’ field from self.

New in version 1.22.

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

Get the ‘Total Size’ field from self.

New in version 1.22.

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

Atomically increments the reference count of self by one.

New in version 1.22.

set_format_type(value_format_type)
Parameters:value_format_type (Qmi.LocPredictedOrbitsDataFormat) – a Qmi.LocPredictedOrbitsDataFormat.
Raises:GLib.Error
Returns:True if value was successfully set, False otherwise.
Return type:bool

Set the ‘Format Type’ field in the message.

New in version 1.22.

set_part_data(value_part_data)
Parameters:value_part_data (bytes) – a GLib.Array of #guint8 elements. A new reference to value_part_data will be taken.
Raises:GLib.Error
Returns:True if value was successfully set, False otherwise.
Return type:bool

Set the ‘Part Data’ field in the message.

New in version 1.22.

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

Set the ‘Part Number’ field in the message.

New in version 1.22.

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

Set the ‘Total Parts’ field in the message.

New in version 1.22.

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

Set the ‘Total Size’ field in the message.

New in version 1.22.

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