virtual

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 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 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

func (c *DeviceClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error

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

func (c *DeviceManagerClient) GetVirtualDevice(ctx context.Context, arg0 int32) (int64, error)

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.

Jump to

Keyboard shortcuts

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