inject_assistance_data


Description:

[ Version ( since = "1.10" ) ]
public async bool inject_assistance_data (uint8[] data, Cancellable? cancellable) throws Error

Aynchronously injects assistance data to the GNSS module.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from. You can then call inject_assistance_data.end to get the result of the operation.

See inject_assistance_data_sync for the synchronous, blocking version of this method.

Parameters:

this

A ModemLocation.

data

Data to inject.

cancellable

A Cancellable or null.

callback

A TaskReadyCallback to call when the request is satisfied or null.

data_size

size of data.

user_data

User data to pass to callback.