location

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2026 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client wraps the gRPC ManagerService client.

func NewClient

func NewClient(cc grpc.ClientConnInterface) *Client

NewClient creates a new location client.

func (*Client) AddGpsStatusListener

func (c *Client) AddGpsStatusListener(ctx context.Context, arg0 int64) (bool, error)

AddGpsStatusListener calls the AddGpsStatusListener RPC.

func (*Client) AddNmeaListener1

func (c *Client) AddNmeaListener1(ctx context.Context, arg0 int64) (bool, error)

AddNmeaListener1 calls the AddNmeaListener1 RPC.

func (*Client) AddNmeaListener1_1

func (c *Client) AddNmeaListener1_1(ctx context.Context, arg0 int64) (bool, error)

AddNmeaListener1_1 calls the AddNmeaListener1_1 RPC.

func (*Client) AddNmeaListener2_2

func (c *Client) AddNmeaListener2_2(ctx context.Context, arg0 int64, arg1 int64) (bool, error)

AddNmeaListener2_2 calls the AddNmeaListener2_2 RPC.

func (*Client) AddProximityAlert

func (c *Client) AddProximityAlert(ctx context.Context, arg0 float64, arg1 float64, arg2 float32, arg3 int64, arg4 int64) error

AddProximityAlert calls the AddProximityAlert RPC.

func (*Client) AddTestProvider2

func (c *Client) AddTestProvider2(ctx context.Context, arg0 string, arg1 int64) error

AddTestProvider2 calls the AddTestProvider2 RPC.

func (*Client) AddTestProvider3_1

func (c *Client) AddTestProvider3_1(ctx context.Context, arg0 string, arg1 int64, arg2 int64) error

AddTestProvider3_1 calls the AddTestProvider3_1 RPC.

func (*Client) AddTestProvider10_2

func (c *Client) AddTestProvider10_2(ctx context.Context, arg0 string, arg1 bool, arg2 bool, arg3 bool, arg4 bool, arg5 bool, arg6 bool, arg7 bool, arg8 int32, arg9 int32) error

AddTestProvider10_2 calls the AddTestProvider10_2 RPC.

func (*Client) ClearTestProviderEnabled

func (c *Client) ClearTestProviderEnabled(ctx context.Context, arg0 string) error

ClearTestProviderEnabled calls the ClearTestProviderEnabled RPC.

func (*Client) ClearTestProviderLocation

func (c *Client) ClearTestProviderLocation(ctx context.Context, arg0 string) error

ClearTestProviderLocation calls the ClearTestProviderLocation RPC.

func (*Client) ClearTestProviderStatus

func (c *Client) ClearTestProviderStatus(ctx context.Context, arg0 string) error

ClearTestProviderStatus calls the ClearTestProviderStatus RPC.

func (*Client) GetAllProviders

func (c *Client) GetAllProviders(ctx context.Context) (int64, error)

GetAllProviders calls the GetAllProviders RPC.

func (*Client) GetBestProvider

func (c *Client) GetBestProvider(ctx context.Context, arg0 int64, arg1 bool) (string, error)

GetBestProvider calls the GetBestProvider RPC.

func (*Client) GetCurrentLocation4_1

func (c *Client) GetCurrentLocation4_1(ctx context.Context, arg0 string, arg1 int64, arg2 int64, arg3 int64) error

GetCurrentLocation4_1 calls the GetCurrentLocation4_1 RPC.

func (*Client) GetCurrentLocation5

func (c *Client) GetCurrentLocation5(ctx context.Context, arg0 string, arg1 int64, arg2 int64, arg3 int64, arg4 int64) error

GetCurrentLocation5 calls the GetCurrentLocation5 RPC.

func (*Client) GetGnssAntennaInfos

func (c *Client) GetGnssAntennaInfos(ctx context.Context) (int64, error)

GetGnssAntennaInfos calls the GetGnssAntennaInfos RPC.

func (*Client) GetGnssCapabilities

func (c *Client) GetGnssCapabilities(ctx context.Context) (int64, error)

GetGnssCapabilities calls the GetGnssCapabilities RPC.

func (*Client) GetGnssHardwareModelName

func (c *Client) GetGnssHardwareModelName(ctx context.Context) (string, error)

GetGnssHardwareModelName calls the GetGnssHardwareModelName RPC.

func (*Client) GetGnssYearOfHardware

func (c *Client) GetGnssYearOfHardware(ctx context.Context) (int32, error)

GetGnssYearOfHardware calls the GetGnssYearOfHardware RPC.

func (*Client) GetGpsStatus

func (c *Client) GetGpsStatus(ctx context.Context, arg0 int64) (int64, error)

GetGpsStatus calls the GetGpsStatus RPC.

func (*Client) GetLastKnownLocation

func (c *Client) GetLastKnownLocation(ctx context.Context, arg0 string) (int64, error)

GetLastKnownLocation calls the GetLastKnownLocation RPC.

func (*Client) GetProvider

func (c *Client) GetProvider(ctx context.Context, arg0 string) (int64, error)

GetProvider calls the GetProvider RPC.

func (*Client) GetProviderProperties

func (c *Client) GetProviderProperties(ctx context.Context, arg0 string) (int64, error)

GetProviderProperties calls the GetProviderProperties RPC.

func (*Client) GetProviders1_1

func (c *Client) GetProviders1_1(ctx context.Context, arg0 bool) (int64, error)

GetProviders1_1 calls the GetProviders1_1 RPC.

func (*Client) GetProviders2

func (c *Client) GetProviders2(ctx context.Context, arg0 int64, arg1 bool) (int64, error)

GetProviders2 calls the GetProviders2 RPC.

func (*Client) HasProvider

func (c *Client) HasProvider(ctx context.Context, arg0 string) (bool, error)

HasProvider calls the HasProvider RPC.

func (*Client) IsLocationEnabled

func (c *Client) IsLocationEnabled(ctx context.Context) (bool, error)

IsLocationEnabled calls the IsLocationEnabled RPC.

func (*Client) IsProviderEnabled

func (c *Client) IsProviderEnabled(ctx context.Context, arg0 string) (bool, error)

IsProviderEnabled calls the IsProviderEnabled RPC.

func (*Client) RegisterAntennaInfoListener

func (c *Client) RegisterAntennaInfoListener(ctx context.Context, arg0 int64, arg1 int64) (bool, error)

RegisterAntennaInfoListener calls the RegisterAntennaInfoListener RPC.

func (*Client) RegisterGnssMeasurementsCallback1_1

func (c *Client) RegisterGnssMeasurementsCallback1_1(ctx context.Context, arg0 int64) (bool, error)

RegisterGnssMeasurementsCallback1_1 calls the RegisterGnssMeasurementsCallback1_1 RPC.

func (*Client) RegisterGnssMeasurementsCallback2_2

func (c *Client) RegisterGnssMeasurementsCallback2_2(ctx context.Context, arg0 int64, arg1 int64) (bool, error)

RegisterGnssMeasurementsCallback2_2 calls the RegisterGnssMeasurementsCallback2_2 RPC.

func (*Client) RegisterGnssMeasurementsCallback3

func (c *Client) RegisterGnssMeasurementsCallback3(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) (bool, error)

RegisterGnssMeasurementsCallback3 calls the RegisterGnssMeasurementsCallback3 RPC.

func (*Client) RegisterGnssNavigationMessageCallback1

func (c *Client) RegisterGnssNavigationMessageCallback1(ctx context.Context, arg0 int64) (bool, error)

RegisterGnssNavigationMessageCallback1 calls the RegisterGnssNavigationMessageCallback1 RPC.

func (*Client) RegisterGnssNavigationMessageCallback2_1

func (c *Client) RegisterGnssNavigationMessageCallback2_1(ctx context.Context, arg0 int64, arg1 int64) (bool, error)

RegisterGnssNavigationMessageCallback2_1 calls the RegisterGnssNavigationMessageCallback2_1 RPC.

func (*Client) RegisterGnssStatusCallback1

func (c *Client) RegisterGnssStatusCallback1(ctx context.Context, arg0 int64) (bool, error)

RegisterGnssStatusCallback1 calls the RegisterGnssStatusCallback1 RPC.

func (*Client) RegisterGnssStatusCallback2_1

func (c *Client) RegisterGnssStatusCallback2_1(ctx context.Context, arg0 int64, arg1 int64) (bool, error)

RegisterGnssStatusCallback2_1 calls the RegisterGnssStatusCallback2_1 RPC.

func (*Client) RemoveGpsStatusListener

func (c *Client) RemoveGpsStatusListener(ctx context.Context, arg0 int64) error

RemoveGpsStatusListener calls the RemoveGpsStatusListener RPC.

func (*Client) RemoveNmeaListener1

func (c *Client) RemoveNmeaListener1(ctx context.Context, arg0 int64) error

RemoveNmeaListener1 calls the RemoveNmeaListener1 RPC.

func (*Client) RemoveNmeaListener1_1

func (c *Client) RemoveNmeaListener1_1(ctx context.Context, arg0 int64) error

RemoveNmeaListener1_1 calls the RemoveNmeaListener1_1 RPC.

func (*Client) RemoveProximityAlert

func (c *Client) RemoveProximityAlert(ctx context.Context, arg0 int64) error

RemoveProximityAlert calls the RemoveProximityAlert RPC.

func (*Client) RemoveTestProvider

func (c *Client) RemoveTestProvider(ctx context.Context, arg0 string) error

RemoveTestProvider calls the RemoveTestProvider RPC.

func (*Client) RemoveUpdates1

func (c *Client) RemoveUpdates1(ctx context.Context, arg0 int64) error

RemoveUpdates1 calls the RemoveUpdates1 RPC.

func (*Client) RemoveUpdates1_1

func (c *Client) RemoveUpdates1_1(ctx context.Context, arg0 int64) error

RemoveUpdates1_1 calls the RemoveUpdates1_1 RPC.

func (*Client) RequestFlush3

func (c *Client) RequestFlush3(ctx context.Context, arg0 string, arg1 int64, arg2 int32) error

RequestFlush3 calls the RequestFlush3 RPC.

func (*Client) RequestFlush3_1

func (c *Client) RequestFlush3_1(ctx context.Context, arg0 string, arg1 int64, arg2 int32) error

RequestFlush3_1 calls the RequestFlush3_1 RPC.

func (*Client) RequestLocationUpdates3

func (c *Client) RequestLocationUpdates3(ctx context.Context, arg0 string, arg1 int64, arg2 int64) error

RequestLocationUpdates3 calls the RequestLocationUpdates3 RPC.

func (*Client) RequestLocationUpdates4_1

func (c *Client) RequestLocationUpdates4_1(ctx context.Context, arg0 string, arg1 int64, arg2 int64, arg3 int64) error

RequestLocationUpdates4_1 calls the RequestLocationUpdates4_1 RPC.

func (*Client) RequestLocationUpdates4_2

func (c *Client) RequestLocationUpdates4_2(ctx context.Context, arg0 string, arg1 int64, arg2 float32, arg3 int64) error

RequestLocationUpdates4_2 calls the RequestLocationUpdates4_2 RPC.

func (*Client) RequestLocationUpdates4_3

func (c *Client) RequestLocationUpdates4_3(ctx context.Context, arg0 string, arg1 int64, arg2 float32, arg3 int64) error

RequestLocationUpdates4_3 calls the RequestLocationUpdates4_3 RPC.

func (*Client) RequestLocationUpdates4_6

func (c *Client) RequestLocationUpdates4_6(ctx context.Context, arg0 int64, arg1 float32, arg2 int64, arg3 int64) error

RequestLocationUpdates4_6 calls the RequestLocationUpdates4_6 RPC.

func (*Client) RequestLocationUpdates5_4

func (c *Client) RequestLocationUpdates5_4(ctx context.Context, arg0 string, arg1 int64, arg2 float32, arg3 int64, arg4 int64) error

RequestLocationUpdates5_4 calls the RequestLocationUpdates5_4 RPC.

func (*Client) RequestLocationUpdates5_5

func (c *Client) RequestLocationUpdates5_5(ctx context.Context, arg0 string, arg1 int64, arg2 float32, arg3 int64, arg4 int64) error

RequestLocationUpdates5_5 calls the RequestLocationUpdates5_5 RPC.

func (*Client) RequestLocationUpdates5_7

func (c *Client) RequestLocationUpdates5_7(ctx context.Context, arg0 int64, arg1 float32, arg2 int64, arg3 int64, arg4 int64) error

RequestLocationUpdates5_7 calls the RequestLocationUpdates5_7 RPC.

func (*Client) RequestLocationUpdates5_8

func (c *Client) RequestLocationUpdates5_8(ctx context.Context, arg0 int64, arg1 float32, arg2 int64, arg3 int64, arg4 int64) error

RequestLocationUpdates5_8 calls the RequestLocationUpdates5_8 RPC.

func (*Client) RequestSingleUpdate2

func (c *Client) RequestSingleUpdate2(ctx context.Context, arg0 int64, arg1 int64) error

RequestSingleUpdate2 calls the RequestSingleUpdate2 RPC.

func (*Client) RequestSingleUpdate2_2

func (c *Client) RequestSingleUpdate2_2(ctx context.Context, arg0 string, arg1 int64) error

RequestSingleUpdate2_2 calls the RequestSingleUpdate2_2 RPC.

func (*Client) RequestSingleUpdate3_1

func (c *Client) RequestSingleUpdate3_1(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error

RequestSingleUpdate3_1 calls the RequestSingleUpdate3_1 RPC.

func (*Client) RequestSingleUpdate3_3

func (c *Client) RequestSingleUpdate3_3(ctx context.Context, arg0 string, arg1 int64, arg2 int64) error

RequestSingleUpdate3_3 calls the RequestSingleUpdate3_3 RPC.

func (*Client) SendExtraCommand

func (c *Client) SendExtraCommand(ctx context.Context, arg0 string, arg1 string, arg2 int64) (bool, error)

SendExtraCommand calls the SendExtraCommand RPC.

func (*Client) SetTestProviderEnabled

func (c *Client) SetTestProviderEnabled(ctx context.Context, arg0 string, arg1 bool) error

SetTestProviderEnabled calls the SetTestProviderEnabled RPC.

func (*Client) SetTestProviderLocation

func (c *Client) SetTestProviderLocation(ctx context.Context, arg0 string, arg1 int64) error

SetTestProviderLocation calls the SetTestProviderLocation RPC.

func (*Client) SetTestProviderStatus

func (c *Client) SetTestProviderStatus(ctx context.Context, arg0 string, arg1 int32, arg2 int64, arg3 int64) error

SetTestProviderStatus calls the SetTestProviderStatus RPC.

func (*Client) UnregisterAntennaInfoListener

func (c *Client) UnregisterAntennaInfoListener(ctx context.Context, arg0 int64) error

UnregisterAntennaInfoListener calls the UnregisterAntennaInfoListener RPC.

func (*Client) UnregisterGnssMeasurementsCallback

func (c *Client) UnregisterGnssMeasurementsCallback(ctx context.Context, arg0 int64) error

UnregisterGnssMeasurementsCallback calls the UnregisterGnssMeasurementsCallback RPC.

func (*Client) UnregisterGnssNavigationMessageCallback

func (c *Client) UnregisterGnssNavigationMessageCallback(ctx context.Context, arg0 int64) error

UnregisterGnssNavigationMessageCallback calls the UnregisterGnssNavigationMessageCallback RPC.

func (*Client) UnregisterGnssStatusCallback

func (c *Client) UnregisterGnssStatusCallback(ctx context.Context, arg0 int64) error

UnregisterGnssStatusCallback calls the UnregisterGnssStatusCallback RPC.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL