Documentation
¶
Index ¶
- type DeviceClient
- func (c *DeviceClient) DescribeContents(ctx context.Context) (int32, error)
- func (c *DeviceClient) GetDeviceId(ctx context.Context) (int32, error)
- func (c *DeviceClient) GetDisplayIds(ctx context.Context) (int64, error)
- func (c *DeviceClient) GetDisplayName(ctx context.Context) (int64, error)
- func (c *DeviceClient) GetName(ctx context.Context) (string, error)
- func (c *DeviceClient) GetPersistentDeviceId(ctx context.Context) (string, error)
- func (c *DeviceClient) HasCustomSensorSupport(ctx context.Context) (bool, error)
- func (c *DeviceClient) ToString(ctx context.Context) (string, error)
- func (c *DeviceClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
- type DeviceManagerClient
- func (c *DeviceManagerClient) GetVirtualDevice(ctx context.Context, arg0 int32) (int64, error)
- func (c *DeviceManagerClient) GetVirtualDevices(ctx context.Context) (int64, error)
- func (c *DeviceManagerClient) RegisterVirtualDeviceListener(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *DeviceManagerClient) UnregisterVirtualDeviceListener(ctx context.Context, arg0 int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceClient ¶
type DeviceClient struct {
// contains filtered or unexported fields
}
DeviceClient wraps the gRPC DeviceService client.
func NewDeviceClient ¶
func NewDeviceClient(cc grpc.ClientConnInterface) *DeviceClient
NewDeviceClient creates a new Device client.
func (*DeviceClient) DescribeContents ¶
func (c *DeviceClient) DescribeContents(ctx context.Context) (int32, error)
DescribeContents calls the DescribeContents RPC.
func (*DeviceClient) GetDeviceId ¶
func (c *DeviceClient) GetDeviceId(ctx context.Context) (int32, error)
GetDeviceId calls the GetDeviceId RPC.
func (*DeviceClient) GetDisplayIds ¶
func (c *DeviceClient) GetDisplayIds(ctx context.Context) (int64, error)
GetDisplayIds calls the GetDisplayIds RPC.
func (*DeviceClient) GetDisplayName ¶
func (c *DeviceClient) GetDisplayName(ctx context.Context) (int64, error)
GetDisplayName calls the GetDisplayName RPC.
func (*DeviceClient) GetName ¶
func (c *DeviceClient) GetName(ctx context.Context) (string, error)
GetName calls the GetName RPC.
func (*DeviceClient) GetPersistentDeviceId ¶
func (c *DeviceClient) GetPersistentDeviceId(ctx context.Context) (string, error)
GetPersistentDeviceId calls the GetPersistentDeviceId RPC.
func (*DeviceClient) HasCustomSensorSupport ¶
func (c *DeviceClient) HasCustomSensorSupport(ctx context.Context) (bool, error)
HasCustomSensorSupport calls the HasCustomSensorSupport RPC.
func (*DeviceClient) ToString ¶
func (c *DeviceClient) ToString(ctx context.Context) (string, error)
ToString calls the ToString RPC.
func (*DeviceClient) WriteToParcel ¶
WriteToParcel calls the WriteToParcel RPC.
type DeviceManagerClient ¶
type DeviceManagerClient struct {
// contains filtered or unexported fields
}
DeviceManagerClient wraps the gRPC DeviceManagerService client.
func NewDeviceManagerClient ¶
func NewDeviceManagerClient(cc grpc.ClientConnInterface) *DeviceManagerClient
NewDeviceManagerClient creates a new DeviceManager client.
func (*DeviceManagerClient) GetVirtualDevice ¶
GetVirtualDevice calls the GetVirtualDevice RPC.
func (*DeviceManagerClient) GetVirtualDevices ¶
func (c *DeviceManagerClient) GetVirtualDevices(ctx context.Context) (int64, error)
GetVirtualDevices calls the GetVirtualDevices RPC.
func (*DeviceManagerClient) RegisterVirtualDeviceListener ¶
func (c *DeviceManagerClient) RegisterVirtualDeviceListener(ctx context.Context, arg0 int64, arg1 int64) error
RegisterVirtualDeviceListener calls the RegisterVirtualDeviceListener RPC.
func (*DeviceManagerClient) UnregisterVirtualDeviceListener ¶
func (c *DeviceManagerClient) UnregisterVirtualDeviceListener(ctx context.Context, arg0 int64) error
UnregisterVirtualDeviceListener calls the UnregisterVirtualDeviceListener RPC.