Qmi.MessageLocInjectPositionInput

Fields

None

Methods

class

new ()

get_altitude_from_ellipsoid ()

get_altitude_from_sealevel ()

get_altitude_source ()

get_gps_date_time ()

get_horizontal_confidence ()

get_horizontal_reliability ()

get_horizontal_uncertainty_circular ()

get_latitude ()

get_longitude ()

get_number_satellites_in_fix ()

get_position_source ()

get_position_source_provider ()

get_raw_horizontal_confidence ()

get_raw_horizontal_uncertainty_circular ()

get_requested_position_injection ()

get_satellites_used ()

get_speed_east_north_up ()

get_speed_uncertainty_east_north_up ()

get_time_uncertainty ()

get_timestamp_age ()

get_utc_timestamp ()

get_vertical_confidence ()

get_vertical_reliability ()

get_vertical_uncertainty ()

ref ()

set_altitude_from_ellipsoid (value_altitude_from_ellipsoid)

set_altitude_from_sealevel (value_altitude_from_sealevel)

set_altitude_source (value_altitude_source_altitude_source, value_altitude_source_altitude_dependency, value_altitude_source_altitude_uncertainty)

set_gps_date_time (value_gps_date_time_gps_weeks, value_gps_date_time_gps_time_of_week_milliseconds)

set_horizontal_confidence (value_horizontal_confidence)

set_horizontal_reliability (value_horizontal_reliability)

set_horizontal_uncertainty_circular (value_horizontal_uncertainty_circular)

set_latitude (value_latitude)

set_longitude (value_longitude)

set_number_satellites_in_fix (value_number_satellites_in_fix)

set_position_source (value_position_source)

set_position_source_provider (value_position_source_provider)

set_raw_horizontal_confidence (value_raw_horizontal_confidence)

set_raw_horizontal_uncertainty_circular (value_raw_horizontal_uncertainty_circular)

set_requested_position_injection (value_requested_position_injection)

set_satellites_used (value_satellites_used)

set_speed_east_north_up (value_speed_east_north_up)

set_speed_uncertainty_east_north_up (value_speed_uncertainty_east_north_up)

set_time_uncertainty (value_time_uncertainty)

set_timestamp_age (value_timestamp_age)

set_utc_timestamp (value_utc_timestamp)

set_vertical_confidence (value_vertical_confidence)

set_vertical_reliability (value_vertical_reliability)

set_vertical_uncertainty (value_vertical_uncertainty)

unref ()

Details

class Qmi.MessageLocInjectPositionInput

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

New in version 1.37.

classmethod new()
Returns:

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

Return type:

Qmi.MessageLocInjectPositionInput

Allocates a new Qmi.MessageLocInjectPositionInput.

New in version 1.37.

get_altitude_from_ellipsoid()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_altitude_from_ellipsoid:

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

Return type:

(bool, value_altitude_from_ellipsoid: float)

Get the ‘Altitude from Ellipsoid’ field from self.

New in version 1.37.

get_altitude_from_sealevel()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_altitude_from_sealevel:

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

Return type:

(bool, value_altitude_from_sealevel: float)

Get the ‘Altitude from Sealevel’ field from self.

New in version 1.37.

get_altitude_source()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_altitude_source_altitude_source:

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

value_altitude_source_altitude_dependency:

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

value_altitude_source_altitude_uncertainty:

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

Return type:

(bool, value_altitude_source_altitude_source: Qmi.LocAltitudeSource, value_altitude_source_altitude_dependency: Qmi.LocAltitudeDependency, value_altitude_source_altitude_uncertainty: Qmi.LocAltitudeUncertainty)

Get the ‘Altitude Source’ field from self.

New in version 1.37.

get_gps_date_time()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_gps_date_time_gps_weeks:

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

value_gps_date_time_gps_time_of_week_milliseconds:

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

Return type:

(bool, value_gps_date_time_gps_weeks: int, value_gps_date_time_gps_time_of_week_milliseconds: int)

Get the ‘GPS Date Time’ field from self.

New in version 1.37.

get_horizontal_confidence()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_horizontal_confidence:

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

Return type:

(bool, value_horizontal_confidence: int)

Get the ‘Horizontal Confidence’ field from self.

New in version 1.37.

get_horizontal_reliability()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_horizontal_reliability:

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

Return type:

(bool, value_horizontal_reliability: Qmi.LocReliability)

Get the ‘Horizontal Reliability’ field from self.

New in version 1.37.

get_horizontal_uncertainty_circular()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_horizontal_uncertainty_circular:

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

Return type:

(bool, value_horizontal_uncertainty_circular: float)

Get the ‘Horizontal Uncertainty Circular’ field from self.

New in version 1.37.

get_latitude()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_latitude:

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

Return type:

(bool, value_latitude: float)

Get the ‘Latitude’ field from self.

New in version 1.37.

get_longitude()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_longitude:

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

Return type:

(bool, value_longitude: float)

Get the ‘Longitude’ field from self.

New in version 1.37.

get_number_satellites_in_fix()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_number_satellites_in_fix:

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

Return type:

(bool, value_number_satellites_in_fix: int)

Get the ‘Number Satellites in Fix’ field from self.

New in version 1.37.

get_position_source()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_position_source:

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

Return type:

(bool, value_position_source: Qmi.LocPositionSource)

Get the ‘Position Source’ field from self.

New in version 1.37.

get_position_source_provider()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_position_source_provider:

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

Return type:

(bool, value_position_source_provider: Qmi.LocPositionSourceProvider)

Get the ‘Position Source Provider’ field from self.

New in version 1.37.

get_raw_horizontal_confidence()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_raw_horizontal_confidence:

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

Return type:

(bool, value_raw_horizontal_confidence: int)

Get the ‘Raw Horizontal Confidence’ field from self.

New in version 1.37.

get_raw_horizontal_uncertainty_circular()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_raw_horizontal_uncertainty_circular:

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

Return type:

(bool, value_raw_horizontal_uncertainty_circular: float)

Get the ‘Raw Horizontal Uncertainty Circular’ field from self.

New in version 1.37.

get_requested_position_injection()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_requested_position_injection:

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

Return type:

(bool, value_requested_position_injection: bool)

Get the ‘Requested Position Injection’ field from self.

New in version 1.37.

get_satellites_used()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_satellites_used:

a placeholder for the output GLib.Array of #guint16 elements, or None if not required. Do not free it, it is owned by self.

Return type:

(bool, value_satellites_used: [int])

Get the ‘Satellites Used’ field from self.

New in version 1.37.

get_speed_east_north_up()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_speed_east_north_up:

a placeholder for the output GLib.Array of float elements, or None if not required. Do not free it, it is owned by self.

Return type:

(bool, value_speed_east_north_up: [float])

Get the ‘Speed East North Up’ field from self.

New in version 1.37.

get_speed_uncertainty_east_north_up()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_speed_uncertainty_east_north_up:

a placeholder for the output GLib.Array of float elements, or None if not required. Do not free it, it is owned by self.

Return type:

(bool, value_speed_uncertainty_east_north_up: [float])

Get the ‘Speed Uncertainty East North Up’ field from self.

New in version 1.37.

get_time_uncertainty()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_time_uncertainty:

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

Return type:

(bool, value_time_uncertainty: float)

Get the ‘Time Uncertainty’ field from self.

New in version 1.37.

get_timestamp_age()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_timestamp_age:

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

Return type:

(bool, value_timestamp_age: int)

Get the ‘Timestamp Age’ field from self.

New in version 1.37.

get_utc_timestamp()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_utc_timestamp:

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

Return type:

(bool, value_utc_timestamp: int)

Get the ‘UTC Timestamp’ field from self.

New in version 1.37.

get_vertical_confidence()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_vertical_confidence:

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

Return type:

(bool, value_vertical_confidence: int)

Get the ‘Vertical Confidence’ field from self.

New in version 1.37.

get_vertical_reliability()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_vertical_reliability:

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

Return type:

(bool, value_vertical_reliability: Qmi.LocReliability)

Get the ‘Vertical Reliability’ field from self.

New in version 1.37.

get_vertical_uncertainty()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_vertical_uncertainty:

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

Return type:

(bool, value_vertical_uncertainty: float)

Get the ‘Vertical Uncertainty’ field from self.

New in version 1.37.

ref()
Returns:

the new reference to self.

Return type:

Qmi.MessageLocInjectPositionInput

Atomically increments the reference count of self by one.

New in version 1.37.

set_altitude_from_ellipsoid(value_altitude_from_ellipsoid)
Parameters:

value_altitude_from_ellipsoid (float) – a float.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Altitude from Ellipsoid’ field in the message.

New in version 1.37.

set_altitude_from_sealevel(value_altitude_from_sealevel)
Parameters:

value_altitude_from_sealevel (float) – a float.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Altitude from Sealevel’ field in the message.

New in version 1.37.

set_altitude_source(value_altitude_source_altitude_source, value_altitude_source_altitude_dependency, value_altitude_source_altitude_uncertainty)
Parameters:
Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Altitude Source’ field in the message.

New in version 1.37.

set_gps_date_time(value_gps_date_time_gps_weeks, value_gps_date_time_gps_time_of_week_milliseconds)
Parameters:
  • value_gps_date_time_gps_weeks (int) – a #guint16.

  • value_gps_date_time_gps_time_of_week_milliseconds (int) – a #guint32.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘GPS Date Time’ field in the message.

New in version 1.37.

set_horizontal_confidence(value_horizontal_confidence)
Parameters:

value_horizontal_confidence (int) – a #guint8.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Horizontal Confidence’ field in the message.

New in version 1.37.

set_horizontal_reliability(value_horizontal_reliability)
Parameters:

value_horizontal_reliability (Qmi.LocReliability) – a Qmi.LocReliability.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Horizontal Reliability’ field in the message.

New in version 1.37.

set_horizontal_uncertainty_circular(value_horizontal_uncertainty_circular)
Parameters:

value_horizontal_uncertainty_circular (float) – a float.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Horizontal Uncertainty Circular’ field in the message.

New in version 1.37.

set_latitude(value_latitude)
Parameters:

value_latitude (float) – a float.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Latitude’ field in the message.

New in version 1.37.

set_longitude(value_longitude)
Parameters:

value_longitude (float) – a float.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Longitude’ field in the message.

New in version 1.37.

set_number_satellites_in_fix(value_number_satellites_in_fix)
Parameters:

value_number_satellites_in_fix (int) – a #guint8.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Number Satellites in Fix’ field in the message.

New in version 1.37.

set_position_source(value_position_source)
Parameters:

value_position_source (Qmi.LocPositionSource) – a Qmi.LocPositionSource.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Position Source’ field in the message.

New in version 1.37.

set_position_source_provider(value_position_source_provider)
Parameters:

value_position_source_provider (Qmi.LocPositionSourceProvider) – a Qmi.LocPositionSourceProvider.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Position Source Provider’ field in the message.

New in version 1.37.

set_raw_horizontal_confidence(value_raw_horizontal_confidence)
Parameters:

value_raw_horizontal_confidence (int) – a #guint8.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Raw Horizontal Confidence’ field in the message.

New in version 1.37.

set_raw_horizontal_uncertainty_circular(value_raw_horizontal_uncertainty_circular)
Parameters:

value_raw_horizontal_uncertainty_circular (float) – a float.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Raw Horizontal Uncertainty Circular’ field in the message.

New in version 1.37.

set_requested_position_injection(value_requested_position_injection)
Parameters:

value_requested_position_injection (bool) – a bool.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Requested Position Injection’ field in the message.

New in version 1.37.

set_satellites_used(value_satellites_used)
Parameters:

value_satellites_used ([int]) – a GLib.Array of #guint16 elements. A new reference to value_satellites_used will be taken, so the caller must make sure the array was created with the correct GLib.DestroyNotify as clear function for each element in the array.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Satellites Used’ field in the message.

New in version 1.37.

set_speed_east_north_up(value_speed_east_north_up)
Parameters:

value_speed_east_north_up ([float]) – a GLib.Array of float elements. A new reference to value_speed_east_north_up will be taken, so the caller must make sure the array was created with the correct GLib.DestroyNotify as clear function for each element in the array.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Speed East North Up’ field in the message.

New in version 1.37.

set_speed_uncertainty_east_north_up(value_speed_uncertainty_east_north_up)
Parameters:

value_speed_uncertainty_east_north_up ([float]) – a GLib.Array of float elements. A new reference to value_speed_uncertainty_east_north_up will be taken, so the caller must make sure the array was created with the correct GLib.DestroyNotify as clear function for each element in the array.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Speed Uncertainty East North Up’ field in the message.

New in version 1.37.

set_time_uncertainty(value_time_uncertainty)
Parameters:

value_time_uncertainty (float) – a float.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Time Uncertainty’ field in the message.

New in version 1.37.

set_timestamp_age(value_timestamp_age)
Parameters:

value_timestamp_age (int) – a #guint32.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Timestamp Age’ field in the message.

New in version 1.37.

set_utc_timestamp(value_utc_timestamp)
Parameters:

value_utc_timestamp (int) – a #guint64.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘UTC Timestamp’ field in the message.

New in version 1.37.

set_vertical_confidence(value_vertical_confidence)
Parameters:

value_vertical_confidence (int) – a #guint8.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Vertical Confidence’ field in the message.

New in version 1.37.

set_vertical_reliability(value_vertical_reliability)
Parameters:

value_vertical_reliability (Qmi.LocReliability) – a Qmi.LocReliability.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Vertical Reliability’ field in the message.

New in version 1.37.

set_vertical_uncertainty(value_vertical_uncertainty)
Parameters:

value_vertical_uncertainty (float) – a float.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Vertical Uncertainty’ 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.