template <>
class Server
Defined at line 454 of file fidling/gen/sdk/fidl/fuchsia.location.gnss/fuchsia.location.gnss/cpp/fidl/fuchsia.location.gnss/cpp/natural_messaging.h
Public Methods
void GetSingleShotFix (GetSingleShotFixRequest & request, GetSingleShotFixCompleter::Sync & completer)
Get a single shot time-limited position fix with a
specified accuracy.
## Errors
Returns `GNSS_DISABLED` if GNSS is disabled.
Returns `MISSING_PARAMETERS` if all required fix parameters
are not provided in the request.
Returns `NOT_SUPPORTED` if this feature is not supported.
Returns `INTERNAL_ERROR` in case of any other unspecified issue.
void Server ()
Defined at line 457 of file fidling/gen/sdk/fidl/fuchsia.location.gnss/fuchsia.location.gnss/cpp/fidl/fuchsia.location.gnss/cpp/natural_messaging.h
void StartTimeBasedLocationTracking (StartTimeBasedLocationTrackingRequest & request, StartTimeBasedLocationTrackingCompleter::Sync & completer)
Start a location tracking session.
## Errors
Returns `GNSS_DISABLED` if GNSS is disabled.
Returns `MISSING_PARAMETERS` if all required fix parameters
are not provided in the request.
Returns `NOT_SUPPORTED` if this feature is not supported.
Returns `INTERNAL_ERROR` in case of any unspecified issue.
void GetCapabilities (GetCapabilitiesCompleter::Sync & completer)
Get the system's supported GNSS capabilities.
The system's supported capabilities are built from the platform capabilities
and the available GNSS devices.
Handler bind_handler (async_dispatcher_t * dispatcher)
|bind_handler| returns a handler that binds incoming connections to this
server implementation.
The returned handler borrows the server instance.
The server must outlive the provided |dispatcher|. Only after
the dispatcher is shutdown will it be safe to destroy the servers.
The server should not be moved.
void ~Server ()
Defined at line 458 of file fidling/gen/sdk/fidl/fuchsia.location.gnss/fuchsia.location.gnss/cpp/fidl/fuchsia.location.gnss/cpp/natural_messaging.h