Documentation
¶
Index ¶
- type Client
- func (c *Client) AddGpsStatusListener(ctx context.Context, arg0 int64) (bool, error)
- func (c *Client) AddNmeaListener1(ctx context.Context, arg0 int64) (bool, error)
- func (c *Client) AddNmeaListener1_1(ctx context.Context, arg0 int64) (bool, error)
- func (c *Client) AddNmeaListener2_2(ctx context.Context, arg0 int64, arg1 int64) (bool, error)
- func (c *Client) AddProximityAlert(ctx context.Context, arg0 float64, arg1 float64, arg2 float32, arg3 int64, ...) error
- func (c *Client) AddTestProvider2(ctx context.Context, arg0 string, arg1 int64) error
- func (c *Client) AddTestProvider3_1(ctx context.Context, arg0 string, arg1 int64, arg2 int64) error
- func (c *Client) AddTestProvider10_2(ctx context.Context, arg0 string, arg1 bool, arg2 bool, arg3 bool, arg4 bool, ...) error
- func (c *Client) ClearTestProviderEnabled(ctx context.Context, arg0 string) error
- func (c *Client) ClearTestProviderLocation(ctx context.Context, arg0 string) error
- func (c *Client) ClearTestProviderStatus(ctx context.Context, arg0 string) error
- func (c *Client) GetAllProviders(ctx context.Context) (int64, error)
- func (c *Client) GetBestProvider(ctx context.Context, arg0 int64, arg1 bool) (string, error)
- func (c *Client) GetCurrentLocation4_1(ctx context.Context, arg0 string, arg1 int64, arg2 int64, arg3 int64) error
- func (c *Client) GetCurrentLocation5(ctx context.Context, arg0 string, arg1 int64, arg2 int64, arg3 int64, ...) error
- func (c *Client) GetGnssAntennaInfos(ctx context.Context) (int64, error)
- func (c *Client) GetGnssCapabilities(ctx context.Context) (int64, error)
- func (c *Client) GetGnssHardwareModelName(ctx context.Context) (string, error)
- func (c *Client) GetGnssYearOfHardware(ctx context.Context) (int32, error)
- func (c *Client) GetGpsStatus(ctx context.Context, arg0 int64) (int64, error)
- func (c *Client) GetLastKnownLocation(ctx context.Context, arg0 string) (int64, error)
- func (c *Client) GetProvider(ctx context.Context, arg0 string) (int64, error)
- func (c *Client) GetProviderProperties(ctx context.Context, arg0 string) (int64, error)
- func (c *Client) GetProviders1_1(ctx context.Context, arg0 bool) (int64, error)
- func (c *Client) GetProviders2(ctx context.Context, arg0 int64, arg1 bool) (int64, error)
- func (c *Client) HasProvider(ctx context.Context, arg0 string) (bool, error)
- func (c *Client) IsLocationEnabled(ctx context.Context) (bool, error)
- func (c *Client) IsProviderEnabled(ctx context.Context, arg0 string) (bool, error)
- func (c *Client) RegisterAntennaInfoListener(ctx context.Context, arg0 int64, arg1 int64) (bool, error)
- func (c *Client) RegisterGnssMeasurementsCallback1_1(ctx context.Context, arg0 int64) (bool, error)
- func (c *Client) RegisterGnssMeasurementsCallback2_2(ctx context.Context, arg0 int64, arg1 int64) (bool, error)
- func (c *Client) RegisterGnssMeasurementsCallback3(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) (bool, error)
- func (c *Client) RegisterGnssNavigationMessageCallback1(ctx context.Context, arg0 int64) (bool, error)
- func (c *Client) RegisterGnssNavigationMessageCallback2_1(ctx context.Context, arg0 int64, arg1 int64) (bool, error)
- func (c *Client) RegisterGnssStatusCallback1(ctx context.Context, arg0 int64) (bool, error)
- func (c *Client) RegisterGnssStatusCallback2_1(ctx context.Context, arg0 int64, arg1 int64) (bool, error)
- func (c *Client) RemoveGpsStatusListener(ctx context.Context, arg0 int64) error
- func (c *Client) RemoveNmeaListener1(ctx context.Context, arg0 int64) error
- func (c *Client) RemoveNmeaListener1_1(ctx context.Context, arg0 int64) error
- func (c *Client) RemoveProximityAlert(ctx context.Context, arg0 int64) error
- func (c *Client) RemoveTestProvider(ctx context.Context, arg0 string) error
- func (c *Client) RemoveUpdates1(ctx context.Context, arg0 int64) error
- func (c *Client) RemoveUpdates1_1(ctx context.Context, arg0 int64) error
- func (c *Client) RequestFlush3(ctx context.Context, arg0 string, arg1 int64, arg2 int32) error
- func (c *Client) RequestFlush3_1(ctx context.Context, arg0 string, arg1 int64, arg2 int32) error
- func (c *Client) RequestLocationUpdates3(ctx context.Context, arg0 string, arg1 int64, arg2 int64) error
- func (c *Client) RequestLocationUpdates4_1(ctx context.Context, arg0 string, arg1 int64, arg2 int64, arg3 int64) error
- func (c *Client) RequestLocationUpdates4_2(ctx context.Context, arg0 string, arg1 int64, arg2 float32, arg3 int64) error
- func (c *Client) RequestLocationUpdates4_3(ctx context.Context, arg0 string, arg1 int64, arg2 float32, arg3 int64) error
- func (c *Client) RequestLocationUpdates4_6(ctx context.Context, arg0 int64, arg1 float32, arg2 int64, arg3 int64) error
- func (c *Client) RequestLocationUpdates5_4(ctx context.Context, arg0 string, arg1 int64, arg2 float32, arg3 int64, ...) error
- func (c *Client) RequestLocationUpdates5_5(ctx context.Context, arg0 string, arg1 int64, arg2 float32, arg3 int64, ...) error
- func (c *Client) RequestLocationUpdates5_7(ctx context.Context, arg0 int64, arg1 float32, arg2 int64, arg3 int64, ...) error
- func (c *Client) RequestLocationUpdates5_8(ctx context.Context, arg0 int64, arg1 float32, arg2 int64, arg3 int64, ...) error
- func (c *Client) RequestSingleUpdate2(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) RequestSingleUpdate2_2(ctx context.Context, arg0 string, arg1 int64) error
- func (c *Client) RequestSingleUpdate3_1(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
- func (c *Client) RequestSingleUpdate3_3(ctx context.Context, arg0 string, arg1 int64, arg2 int64) error
- func (c *Client) SendExtraCommand(ctx context.Context, arg0 string, arg1 string, arg2 int64) (bool, error)
- func (c *Client) SetTestProviderEnabled(ctx context.Context, arg0 string, arg1 bool) error
- func (c *Client) SetTestProviderLocation(ctx context.Context, arg0 string, arg1 int64) error
- func (c *Client) SetTestProviderStatus(ctx context.Context, arg0 string, arg1 int32, arg2 int64, arg3 int64) error
- func (c *Client) UnregisterAntennaInfoListener(ctx context.Context, arg0 int64) error
- func (c *Client) UnregisterGnssMeasurementsCallback(ctx context.Context, arg0 int64) error
- func (c *Client) UnregisterGnssNavigationMessageCallback(ctx context.Context, arg0 int64) error
- func (c *Client) UnregisterGnssStatusCallback(ctx context.Context, arg0 int64) error
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 ¶
AddGpsStatusListener calls the AddGpsStatusListener RPC.
func (*Client) AddNmeaListener1 ¶
AddNmeaListener1 calls the AddNmeaListener1 RPC.
func (*Client) AddNmeaListener1_1 ¶
AddNmeaListener1_1 calls the AddNmeaListener1_1 RPC.
func (*Client) AddNmeaListener2_2 ¶
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 ¶
AddTestProvider2 calls the AddTestProvider2 RPC.
func (*Client) AddTestProvider3_1 ¶
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 ¶
ClearTestProviderEnabled calls the ClearTestProviderEnabled RPC.
func (*Client) ClearTestProviderLocation ¶
ClearTestProviderLocation calls the ClearTestProviderLocation RPC.
func (*Client) ClearTestProviderStatus ¶
ClearTestProviderStatus calls the ClearTestProviderStatus RPC.
func (*Client) GetAllProviders ¶
GetAllProviders calls the GetAllProviders RPC.
func (*Client) GetBestProvider ¶
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 ¶
GetGnssAntennaInfos calls the GetGnssAntennaInfos RPC.
func (*Client) GetGnssCapabilities ¶
GetGnssCapabilities calls the GetGnssCapabilities RPC.
func (*Client) GetGnssHardwareModelName ¶
GetGnssHardwareModelName calls the GetGnssHardwareModelName RPC.
func (*Client) GetGnssYearOfHardware ¶
GetGnssYearOfHardware calls the GetGnssYearOfHardware RPC.
func (*Client) GetGpsStatus ¶
GetGpsStatus calls the GetGpsStatus RPC.
func (*Client) GetLastKnownLocation ¶
GetLastKnownLocation calls the GetLastKnownLocation RPC.
func (*Client) GetProvider ¶
GetProvider calls the GetProvider RPC.
func (*Client) GetProviderProperties ¶
GetProviderProperties calls the GetProviderProperties RPC.
func (*Client) GetProviders1_1 ¶
GetProviders1_1 calls the GetProviders1_1 RPC.
func (*Client) GetProviders2 ¶
GetProviders2 calls the GetProviders2 RPC.
func (*Client) HasProvider ¶
HasProvider calls the HasProvider RPC.
func (*Client) IsLocationEnabled ¶
IsLocationEnabled calls the IsLocationEnabled RPC.
func (*Client) IsProviderEnabled ¶
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 ¶
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 ¶
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 ¶
RemoveGpsStatusListener calls the RemoveGpsStatusListener RPC.
func (*Client) RemoveNmeaListener1 ¶
RemoveNmeaListener1 calls the RemoveNmeaListener1 RPC.
func (*Client) RemoveNmeaListener1_1 ¶
RemoveNmeaListener1_1 calls the RemoveNmeaListener1_1 RPC.
func (*Client) RemoveProximityAlert ¶
RemoveProximityAlert calls the RemoveProximityAlert RPC.
func (*Client) RemoveTestProvider ¶
RemoveTestProvider calls the RemoveTestProvider RPC.
func (*Client) RemoveUpdates1 ¶
RemoveUpdates1 calls the RemoveUpdates1 RPC.
func (*Client) RemoveUpdates1_1 ¶
RemoveUpdates1_1 calls the RemoveUpdates1_1 RPC.
func (*Client) RequestFlush3 ¶
RequestFlush3 calls the RequestFlush3 RPC.
func (*Client) RequestFlush3_1 ¶
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 ¶
RequestSingleUpdate2 calls the RequestSingleUpdate2 RPC.
func (*Client) RequestSingleUpdate2_2 ¶
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 ¶
SetTestProviderEnabled calls the SetTestProviderEnabled RPC.
func (*Client) SetTestProviderLocation ¶
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 ¶
UnregisterAntennaInfoListener calls the UnregisterAntennaInfoListener RPC.
func (*Client) UnregisterGnssMeasurementsCallback ¶
UnregisterGnssMeasurementsCallback calls the UnregisterGnssMeasurementsCallback RPC.
func (*Client) UnregisterGnssNavigationMessageCallback ¶
UnregisterGnssNavigationMessageCallback calls the UnregisterGnssNavigationMessageCallback RPC.