template <>

class Server

Defined at line 149 of file fidling/gen/sdk/fidl/fuchsia.location.gnss/fuchsia.location.gnss/cpp/fidl/fuchsia.location.gnss/cpp/natural_messaging.h

Public Methods

void GetNextLocation (GetNextLocationCompleter::Sync & completer)

Hanging-get to obtain next location in the tracking session.

This call blocks until a new location is is available.

## Errors

Returns `GNSS_DISABLED` if GNSS is disabled.

Returns `TIMEOUT` if time out occurred before obtaining an initial

location of desired accuracy.

Returns `INTERNAL_ERROR` in case of any unspecified issue.

Returns `BAD_STATE` when there is a pending GetNextLocation call.

void Server ()

Defined at line 152 of file fidling/gen/sdk/fidl/fuchsia.location.gnss/fuchsia.location.gnss/cpp/fidl/fuchsia.location.gnss/cpp/natural_messaging.h

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 153 of file fidling/gen/sdk/fidl/fuchsia.location.gnss/fuchsia.location.gnss/cpp/fidl/fuchsia.location.gnss/cpp/natural_messaging.h