Documentation
¶
Index ¶
- type AccessoryClient
- func (c *AccessoryClient) DescribeContents(ctx context.Context) (int32, error)
- func (c *AccessoryClient) Equals(ctx context.Context, arg0 int64) (bool, error)
- func (c *AccessoryClient) GetDescription(ctx context.Context) (string, error)
- func (c *AccessoryClient) GetManufacturer(ctx context.Context) (string, error)
- func (c *AccessoryClient) GetModel(ctx context.Context) (string, error)
- func (c *AccessoryClient) GetSerial(ctx context.Context) (string, error)
- func (c *AccessoryClient) GetUri(ctx context.Context) (string, error)
- func (c *AccessoryClient) GetVersion(ctx context.Context) (string, error)
- func (c *AccessoryClient) HashCode(ctx context.Context) (int32, error)
- func (c *AccessoryClient) ToString(ctx context.Context) (string, error)
- func (c *AccessoryClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
- type ConfigurationClient
- func (c *ConfigurationClient) DescribeContents(ctx context.Context) (int32, error)
- func (c *ConfigurationClient) GetId(ctx context.Context) (int32, error)
- func (c *ConfigurationClient) GetInterface(ctx context.Context, arg0 int32) (int64, error)
- func (c *ConfigurationClient) GetInterfaceCount(ctx context.Context) (int32, error)
- func (c *ConfigurationClient) GetMaxPower(ctx context.Context) (int32, error)
- func (c *ConfigurationClient) GetName(ctx context.Context) (string, error)
- func (c *ConfigurationClient) IsRemoteWakeup(ctx context.Context) (bool, error)
- func (c *ConfigurationClient) IsSelfPowered(ctx context.Context) (bool, error)
- func (c *ConfigurationClient) ToString(ctx context.Context) (string, error)
- func (c *ConfigurationClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
- type DeviceClient
- func (c *DeviceClient) DescribeContents(ctx context.Context) (int32, error)
- func (c *DeviceClient) Equals(ctx context.Context, arg0 int64) (bool, error)
- func (c *DeviceClient) GetConfiguration(ctx context.Context, arg0 int32) (int64, error)
- func (c *DeviceClient) GetConfigurationCount(ctx context.Context) (int32, error)
- func (c *DeviceClient) GetDeviceClass(ctx context.Context) (int32, error)
- func (c *DeviceClient) GetDeviceId0(ctx context.Context) (int32, error)
- func (c *DeviceClient) GetDeviceId1_1(ctx context.Context, arg0 string) (int32, error)
- func (c *DeviceClient) GetDeviceName0(ctx context.Context) (string, error)
- func (c *DeviceClient) GetDeviceName1_1(ctx context.Context, arg0 int32) (string, error)
- func (c *DeviceClient) GetDeviceProtocol(ctx context.Context) (int32, error)
- func (c *DeviceClient) GetDeviceSubclass(ctx context.Context) (int32, error)
- func (c *DeviceClient) GetInterface(ctx context.Context, arg0 int32) (int64, error)
- func (c *DeviceClient) GetInterfaceCount(ctx context.Context) (int32, error)
- func (c *DeviceClient) GetManufacturerName(ctx context.Context) (string, error)
- func (c *DeviceClient) GetProductId(ctx context.Context) (int32, error)
- func (c *DeviceClient) GetProductName(ctx context.Context) (string, error)
- func (c *DeviceClient) GetSerialNumber(ctx context.Context) (string, error)
- func (c *DeviceClient) GetVendorId(ctx context.Context) (int32, error)
- func (c *DeviceClient) GetVersion(ctx context.Context) (string, error)
- func (c *DeviceClient) HashCode(ctx context.Context) (int32, error)
- func (c *DeviceClient) ToString(ctx context.Context) (string, error)
- func (c *DeviceClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
- type DeviceConnectionClient
- func (c *DeviceConnectionClient) BulkTransfer4(ctx context.Context, arg0 int64, arg1 int64, arg2 int32, arg3 int32) (int32, error)
- func (c *DeviceConnectionClient) BulkTransfer5_1(ctx context.Context, arg0 int64, arg1 int64, arg2 int32, arg3 int32, ...) (int32, error)
- func (c *DeviceConnectionClient) ClaimInterface(ctx context.Context, arg0 int64, arg1 bool) (bool, error)
- func (c *DeviceConnectionClient) Close(ctx context.Context) error
- func (c *DeviceConnectionClient) ControlTransfer7(ctx context.Context, arg0 int32, arg1 int32, arg2 int32, arg3 int32, ...) (int32, error)
- func (c *DeviceConnectionClient) ControlTransfer8_1(ctx context.Context, arg0 int32, arg1 int32, arg2 int32, arg3 int32, ...) (int32, error)
- func (c *DeviceConnectionClient) GetFileDescriptor(ctx context.Context) (int32, error)
- func (c *DeviceConnectionClient) GetRawDescriptors(ctx context.Context) (int64, error)
- func (c *DeviceConnectionClient) GetSerial(ctx context.Context) (string, error)
- func (c *DeviceConnectionClient) ReleaseInterface(ctx context.Context, arg0 int64) (bool, error)
- func (c *DeviceConnectionClient) RequestWait0(ctx context.Context) (int64, error)
- func (c *DeviceConnectionClient) RequestWait1_1(ctx context.Context, arg0 int64) (int64, error)
- func (c *DeviceConnectionClient) SetConfiguration(ctx context.Context, arg0 int64) (bool, error)
- func (c *DeviceConnectionClient) SetInterface(ctx context.Context, arg0 int64) (bool, error)
- type EndpointClient
- func (c *EndpointClient) DescribeContents(ctx context.Context) (int32, error)
- func (c *EndpointClient) GetAddress(ctx context.Context) (int32, error)
- func (c *EndpointClient) GetAttributes(ctx context.Context) (int32, error)
- func (c *EndpointClient) GetDirection(ctx context.Context) (int32, error)
- func (c *EndpointClient) GetEndpointNumber(ctx context.Context) (int32, error)
- func (c *EndpointClient) GetInterval(ctx context.Context) (int32, error)
- func (c *EndpointClient) GetMaxPacketSize(ctx context.Context) (int32, error)
- func (c *EndpointClient) GetType(ctx context.Context) (int32, error)
- func (c *EndpointClient) ToString(ctx context.Context) (string, error)
- func (c *EndpointClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
- type InterfaceClient
- func (c *InterfaceClient) DescribeContents(ctx context.Context) (int32, error)
- func (c *InterfaceClient) GetAlternateSetting(ctx context.Context) (int32, error)
- func (c *InterfaceClient) GetEndpoint(ctx context.Context, arg0 int32) (int64, error)
- func (c *InterfaceClient) GetEndpointCount(ctx context.Context) (int32, error)
- func (c *InterfaceClient) GetId(ctx context.Context) (int32, error)
- func (c *InterfaceClient) GetInterfaceClass(ctx context.Context) (int32, error)
- func (c *InterfaceClient) GetInterfaceProtocol(ctx context.Context) (int32, error)
- func (c *InterfaceClient) GetInterfaceSubclass(ctx context.Context) (int32, error)
- func (c *InterfaceClient) GetName(ctx context.Context) (string, error)
- func (c *InterfaceClient) ToString(ctx context.Context) (string, error)
- func (c *InterfaceClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
- type ManagerClient
- func (c *ManagerClient) GetAccessoryList(ctx context.Context) (int64, error)
- func (c *ManagerClient) HasPermission1(ctx context.Context, arg0 int64) (bool, error)
- func (c *ManagerClient) HasPermission1_1(ctx context.Context, arg0 int64) (bool, error)
- func (c *ManagerClient) OpenAccessory(ctx context.Context, arg0 int64) (int64, error)
- func (c *ManagerClient) OpenAccessoryInputStream(ctx context.Context, arg0 int64) (int64, error)
- func (c *ManagerClient) OpenAccessoryOutputStream(ctx context.Context, arg0 int64) (int64, error)
- func (c *ManagerClient) OpenDevice(ctx context.Context, arg0 int64) (int64, error)
- func (c *ManagerClient) RequestPermission2(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *ManagerClient) RequestPermission2_1(ctx context.Context, arg0 int64, arg1 int64) error
- type RequestClient
- func (c *RequestClient) Cancel(ctx context.Context, handle int64) (bool, error)
- func (c *RequestClient) Close(ctx context.Context, handle int64) error
- func (c *RequestClient) GetClientData(ctx context.Context, handle int64) (int64, error)
- func (c *RequestClient) GetEndpoint(ctx context.Context, handle int64) (int64, error)
- func (c *RequestClient) Initialize(ctx context.Context, handle int64, arg0 int64, arg1 int64) (bool, error)
- func (c *RequestClient) SetClientData(ctx context.Context, handle int64, arg0 int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessoryClient ¶ added in v0.0.6
type AccessoryClient struct {
// contains filtered or unexported fields
}
AccessoryClient wraps the gRPC AccessoryService client.
func NewAccessoryClient ¶ added in v0.0.6
func NewAccessoryClient(cc grpc.ClientConnInterface) *AccessoryClient
NewAccessoryClient creates a new Accessory client.
func (*AccessoryClient) DescribeContents ¶ added in v0.0.6
func (c *AccessoryClient) DescribeContents(ctx context.Context) (int32, error)
DescribeContents calls the DescribeContents RPC.
func (*AccessoryClient) GetDescription ¶ added in v0.0.6
func (c *AccessoryClient) GetDescription(ctx context.Context) (string, error)
GetDescription calls the GetDescription RPC.
func (*AccessoryClient) GetManufacturer ¶ added in v0.0.6
func (c *AccessoryClient) GetManufacturer(ctx context.Context) (string, error)
GetManufacturer calls the GetManufacturer RPC.
func (*AccessoryClient) GetModel ¶ added in v0.0.6
func (c *AccessoryClient) GetModel(ctx context.Context) (string, error)
GetModel calls the GetModel RPC.
func (*AccessoryClient) GetSerial ¶ added in v0.0.6
func (c *AccessoryClient) GetSerial(ctx context.Context) (string, error)
GetSerial calls the GetSerial RPC.
func (*AccessoryClient) GetUri ¶ added in v0.0.6
func (c *AccessoryClient) GetUri(ctx context.Context) (string, error)
GetUri calls the GetUri RPC.
func (*AccessoryClient) GetVersion ¶ added in v0.0.6
func (c *AccessoryClient) GetVersion(ctx context.Context) (string, error)
GetVersion calls the GetVersion RPC.
func (*AccessoryClient) HashCode ¶ added in v0.0.6
func (c *AccessoryClient) HashCode(ctx context.Context) (int32, error)
HashCode calls the HashCode RPC.
func (*AccessoryClient) ToString ¶ added in v0.0.6
func (c *AccessoryClient) ToString(ctx context.Context) (string, error)
ToString calls the ToString RPC.
func (*AccessoryClient) WriteToParcel ¶ added in v0.0.6
WriteToParcel calls the WriteToParcel RPC.
type ConfigurationClient ¶ added in v0.0.6
type ConfigurationClient struct {
// contains filtered or unexported fields
}
ConfigurationClient wraps the gRPC ConfigurationService client.
func NewConfigurationClient ¶ added in v0.0.6
func NewConfigurationClient(cc grpc.ClientConnInterface) *ConfigurationClient
NewConfigurationClient creates a new Configuration client.
func (*ConfigurationClient) DescribeContents ¶ added in v0.0.6
func (c *ConfigurationClient) DescribeContents(ctx context.Context) (int32, error)
DescribeContents calls the DescribeContents RPC.
func (*ConfigurationClient) GetId ¶ added in v0.0.6
func (c *ConfigurationClient) GetId(ctx context.Context) (int32, error)
GetId calls the GetId RPC.
func (*ConfigurationClient) GetInterface ¶ added in v0.0.6
GetInterface calls the GetInterface RPC.
func (*ConfigurationClient) GetInterfaceCount ¶ added in v0.0.6
func (c *ConfigurationClient) GetInterfaceCount(ctx context.Context) (int32, error)
GetInterfaceCount calls the GetInterfaceCount RPC.
func (*ConfigurationClient) GetMaxPower ¶ added in v0.0.6
func (c *ConfigurationClient) GetMaxPower(ctx context.Context) (int32, error)
GetMaxPower calls the GetMaxPower RPC.
func (*ConfigurationClient) GetName ¶ added in v0.0.6
func (c *ConfigurationClient) GetName(ctx context.Context) (string, error)
GetName calls the GetName RPC.
func (*ConfigurationClient) IsRemoteWakeup ¶ added in v0.0.6
func (c *ConfigurationClient) IsRemoteWakeup(ctx context.Context) (bool, error)
IsRemoteWakeup calls the IsRemoteWakeup RPC.
func (*ConfigurationClient) IsSelfPowered ¶ added in v0.0.6
func (c *ConfigurationClient) IsSelfPowered(ctx context.Context) (bool, error)
IsSelfPowered calls the IsSelfPowered RPC.
func (*ConfigurationClient) ToString ¶ added in v0.0.6
func (c *ConfigurationClient) ToString(ctx context.Context) (string, error)
ToString calls the ToString RPC.
func (*ConfigurationClient) WriteToParcel ¶ added in v0.0.6
WriteToParcel calls the WriteToParcel RPC.
type DeviceClient ¶ added in v0.0.6
type DeviceClient struct {
// contains filtered or unexported fields
}
DeviceClient wraps the gRPC DeviceService client.
func NewDeviceClient ¶ added in v0.0.6
func NewDeviceClient(cc grpc.ClientConnInterface) *DeviceClient
NewDeviceClient creates a new Device client.
func (*DeviceClient) DescribeContents ¶ added in v0.0.6
func (c *DeviceClient) DescribeContents(ctx context.Context) (int32, error)
DescribeContents calls the DescribeContents RPC.
func (*DeviceClient) GetConfiguration ¶ added in v0.0.6
GetConfiguration calls the GetConfiguration RPC.
func (*DeviceClient) GetConfigurationCount ¶ added in v0.0.6
func (c *DeviceClient) GetConfigurationCount(ctx context.Context) (int32, error)
GetConfigurationCount calls the GetConfigurationCount RPC.
func (*DeviceClient) GetDeviceClass ¶ added in v0.0.6
func (c *DeviceClient) GetDeviceClass(ctx context.Context) (int32, error)
GetDeviceClass calls the GetDeviceClass RPC.
func (*DeviceClient) GetDeviceId0 ¶ added in v0.0.6
func (c *DeviceClient) GetDeviceId0(ctx context.Context) (int32, error)
GetDeviceId0 calls the GetDeviceId0 RPC.
func (*DeviceClient) GetDeviceId1_1 ¶ added in v0.0.6
GetDeviceId1_1 calls the GetDeviceId1_1 RPC.
func (*DeviceClient) GetDeviceName0 ¶ added in v0.0.6
func (c *DeviceClient) GetDeviceName0(ctx context.Context) (string, error)
GetDeviceName0 calls the GetDeviceName0 RPC.
func (*DeviceClient) GetDeviceName1_1 ¶ added in v0.0.6
GetDeviceName1_1 calls the GetDeviceName1_1 RPC.
func (*DeviceClient) GetDeviceProtocol ¶ added in v0.0.6
func (c *DeviceClient) GetDeviceProtocol(ctx context.Context) (int32, error)
GetDeviceProtocol calls the GetDeviceProtocol RPC.
func (*DeviceClient) GetDeviceSubclass ¶ added in v0.0.6
func (c *DeviceClient) GetDeviceSubclass(ctx context.Context) (int32, error)
GetDeviceSubclass calls the GetDeviceSubclass RPC.
func (*DeviceClient) GetInterface ¶ added in v0.0.6
GetInterface calls the GetInterface RPC.
func (*DeviceClient) GetInterfaceCount ¶ added in v0.0.6
func (c *DeviceClient) GetInterfaceCount(ctx context.Context) (int32, error)
GetInterfaceCount calls the GetInterfaceCount RPC.
func (*DeviceClient) GetManufacturerName ¶ added in v0.0.6
func (c *DeviceClient) GetManufacturerName(ctx context.Context) (string, error)
GetManufacturerName calls the GetManufacturerName RPC.
func (*DeviceClient) GetProductId ¶ added in v0.0.6
func (c *DeviceClient) GetProductId(ctx context.Context) (int32, error)
GetProductId calls the GetProductId RPC.
func (*DeviceClient) GetProductName ¶ added in v0.0.6
func (c *DeviceClient) GetProductName(ctx context.Context) (string, error)
GetProductName calls the GetProductName RPC.
func (*DeviceClient) GetSerialNumber ¶ added in v0.0.6
func (c *DeviceClient) GetSerialNumber(ctx context.Context) (string, error)
GetSerialNumber calls the GetSerialNumber RPC.
func (*DeviceClient) GetVendorId ¶ added in v0.0.6
func (c *DeviceClient) GetVendorId(ctx context.Context) (int32, error)
GetVendorId calls the GetVendorId RPC.
func (*DeviceClient) GetVersion ¶ added in v0.0.6
func (c *DeviceClient) GetVersion(ctx context.Context) (string, error)
GetVersion calls the GetVersion RPC.
func (*DeviceClient) HashCode ¶ added in v0.0.6
func (c *DeviceClient) HashCode(ctx context.Context) (int32, error)
HashCode calls the HashCode RPC.
func (*DeviceClient) ToString ¶ added in v0.0.6
func (c *DeviceClient) ToString(ctx context.Context) (string, error)
ToString calls the ToString RPC.
func (*DeviceClient) WriteToParcel ¶ added in v0.0.6
WriteToParcel calls the WriteToParcel RPC.
type DeviceConnectionClient ¶ added in v0.0.6
type DeviceConnectionClient struct {
// contains filtered or unexported fields
}
DeviceConnectionClient wraps the gRPC DeviceConnectionService client.
func NewDeviceConnectionClient ¶ added in v0.0.6
func NewDeviceConnectionClient(cc grpc.ClientConnInterface) *DeviceConnectionClient
NewDeviceConnectionClient creates a new DeviceConnection client.
func (*DeviceConnectionClient) BulkTransfer4 ¶ added in v0.0.6
func (c *DeviceConnectionClient) BulkTransfer4(ctx context.Context, arg0 int64, arg1 int64, arg2 int32, arg3 int32) (int32, error)
BulkTransfer4 calls the BulkTransfer4 RPC.
func (*DeviceConnectionClient) BulkTransfer5_1 ¶ added in v0.0.6
func (c *DeviceConnectionClient) BulkTransfer5_1(ctx context.Context, arg0 int64, arg1 int64, arg2 int32, arg3 int32, arg4 int32) (int32, error)
BulkTransfer5_1 calls the BulkTransfer5_1 RPC.
func (*DeviceConnectionClient) ClaimInterface ¶ added in v0.0.6
func (c *DeviceConnectionClient) ClaimInterface(ctx context.Context, arg0 int64, arg1 bool) (bool, error)
ClaimInterface calls the ClaimInterface RPC.
func (*DeviceConnectionClient) Close ¶ added in v0.0.6
func (c *DeviceConnectionClient) Close(ctx context.Context) error
Close calls the Close RPC.
func (*DeviceConnectionClient) ControlTransfer7 ¶ added in v0.0.6
func (c *DeviceConnectionClient) ControlTransfer7(ctx context.Context, arg0 int32, arg1 int32, arg2 int32, arg3 int32, arg4 int64, arg5 int32, arg6 int32) (int32, error)
ControlTransfer7 calls the ControlTransfer7 RPC.
func (*DeviceConnectionClient) ControlTransfer8_1 ¶ added in v0.0.6
func (c *DeviceConnectionClient) ControlTransfer8_1(ctx context.Context, arg0 int32, arg1 int32, arg2 int32, arg3 int32, arg4 int64, arg5 int32, arg6 int32, arg7 int32) (int32, error)
ControlTransfer8_1 calls the ControlTransfer8_1 RPC.
func (*DeviceConnectionClient) GetFileDescriptor ¶ added in v0.0.6
func (c *DeviceConnectionClient) GetFileDescriptor(ctx context.Context) (int32, error)
GetFileDescriptor calls the GetFileDescriptor RPC.
func (*DeviceConnectionClient) GetRawDescriptors ¶ added in v0.0.6
func (c *DeviceConnectionClient) GetRawDescriptors(ctx context.Context) (int64, error)
GetRawDescriptors calls the GetRawDescriptors RPC.
func (*DeviceConnectionClient) GetSerial ¶ added in v0.0.6
func (c *DeviceConnectionClient) GetSerial(ctx context.Context) (string, error)
GetSerial calls the GetSerial RPC.
func (*DeviceConnectionClient) ReleaseInterface ¶ added in v0.0.6
ReleaseInterface calls the ReleaseInterface RPC.
func (*DeviceConnectionClient) RequestWait0 ¶ added in v0.0.6
func (c *DeviceConnectionClient) RequestWait0(ctx context.Context) (int64, error)
RequestWait0 calls the RequestWait0 RPC.
func (*DeviceConnectionClient) RequestWait1_1 ¶ added in v0.0.6
RequestWait1_1 calls the RequestWait1_1 RPC.
func (*DeviceConnectionClient) SetConfiguration ¶ added in v0.0.6
SetConfiguration calls the SetConfiguration RPC.
func (*DeviceConnectionClient) SetInterface ¶ added in v0.0.6
SetInterface calls the SetInterface RPC.
type EndpointClient ¶ added in v0.0.6
type EndpointClient struct {
// contains filtered or unexported fields
}
EndpointClient wraps the gRPC EndpointService client.
func NewEndpointClient ¶ added in v0.0.6
func NewEndpointClient(cc grpc.ClientConnInterface) *EndpointClient
NewEndpointClient creates a new Endpoint client.
func (*EndpointClient) DescribeContents ¶ added in v0.0.6
func (c *EndpointClient) DescribeContents(ctx context.Context) (int32, error)
DescribeContents calls the DescribeContents RPC.
func (*EndpointClient) GetAddress ¶ added in v0.0.6
func (c *EndpointClient) GetAddress(ctx context.Context) (int32, error)
GetAddress calls the GetAddress RPC.
func (*EndpointClient) GetAttributes ¶ added in v0.0.6
func (c *EndpointClient) GetAttributes(ctx context.Context) (int32, error)
GetAttributes calls the GetAttributes RPC.
func (*EndpointClient) GetDirection ¶ added in v0.0.6
func (c *EndpointClient) GetDirection(ctx context.Context) (int32, error)
GetDirection calls the GetDirection RPC.
func (*EndpointClient) GetEndpointNumber ¶ added in v0.0.6
func (c *EndpointClient) GetEndpointNumber(ctx context.Context) (int32, error)
GetEndpointNumber calls the GetEndpointNumber RPC.
func (*EndpointClient) GetInterval ¶ added in v0.0.6
func (c *EndpointClient) GetInterval(ctx context.Context) (int32, error)
GetInterval calls the GetInterval RPC.
func (*EndpointClient) GetMaxPacketSize ¶ added in v0.0.6
func (c *EndpointClient) GetMaxPacketSize(ctx context.Context) (int32, error)
GetMaxPacketSize calls the GetMaxPacketSize RPC.
func (*EndpointClient) GetType ¶ added in v0.0.6
func (c *EndpointClient) GetType(ctx context.Context) (int32, error)
GetType calls the GetType RPC.
func (*EndpointClient) ToString ¶ added in v0.0.6
func (c *EndpointClient) ToString(ctx context.Context) (string, error)
ToString calls the ToString RPC.
func (*EndpointClient) WriteToParcel ¶ added in v0.0.6
WriteToParcel calls the WriteToParcel RPC.
type InterfaceClient ¶ added in v0.0.6
type InterfaceClient struct {
// contains filtered or unexported fields
}
InterfaceClient wraps the gRPC InterfaceService client.
func NewInterfaceClient ¶ added in v0.0.6
func NewInterfaceClient(cc grpc.ClientConnInterface) *InterfaceClient
NewInterfaceClient creates a new Interface client.
func (*InterfaceClient) DescribeContents ¶ added in v0.0.6
func (c *InterfaceClient) DescribeContents(ctx context.Context) (int32, error)
DescribeContents calls the DescribeContents RPC.
func (*InterfaceClient) GetAlternateSetting ¶ added in v0.0.6
func (c *InterfaceClient) GetAlternateSetting(ctx context.Context) (int32, error)
GetAlternateSetting calls the GetAlternateSetting RPC.
func (*InterfaceClient) GetEndpoint ¶ added in v0.0.6
GetEndpoint calls the GetEndpoint RPC.
func (*InterfaceClient) GetEndpointCount ¶ added in v0.0.6
func (c *InterfaceClient) GetEndpointCount(ctx context.Context) (int32, error)
GetEndpointCount calls the GetEndpointCount RPC.
func (*InterfaceClient) GetId ¶ added in v0.0.6
func (c *InterfaceClient) GetId(ctx context.Context) (int32, error)
GetId calls the GetId RPC.
func (*InterfaceClient) GetInterfaceClass ¶ added in v0.0.6
func (c *InterfaceClient) GetInterfaceClass(ctx context.Context) (int32, error)
GetInterfaceClass calls the GetInterfaceClass RPC.
func (*InterfaceClient) GetInterfaceProtocol ¶ added in v0.0.6
func (c *InterfaceClient) GetInterfaceProtocol(ctx context.Context) (int32, error)
GetInterfaceProtocol calls the GetInterfaceProtocol RPC.
func (*InterfaceClient) GetInterfaceSubclass ¶ added in v0.0.6
func (c *InterfaceClient) GetInterfaceSubclass(ctx context.Context) (int32, error)
GetInterfaceSubclass calls the GetInterfaceSubclass RPC.
func (*InterfaceClient) GetName ¶ added in v0.0.6
func (c *InterfaceClient) GetName(ctx context.Context) (string, error)
GetName calls the GetName RPC.
func (*InterfaceClient) ToString ¶ added in v0.0.6
func (c *InterfaceClient) ToString(ctx context.Context) (string, error)
ToString calls the ToString RPC.
func (*InterfaceClient) WriteToParcel ¶ added in v0.0.6
WriteToParcel calls the WriteToParcel RPC.
type ManagerClient ¶ added in v0.0.6
type ManagerClient struct {
// contains filtered or unexported fields
}
ManagerClient wraps the gRPC ManagerService client.
func NewManagerClient ¶ added in v0.0.6
func NewManagerClient(cc grpc.ClientConnInterface) *ManagerClient
NewManagerClient creates a new Manager client.
func (*ManagerClient) GetAccessoryList ¶ added in v0.0.6
func (c *ManagerClient) GetAccessoryList(ctx context.Context) (int64, error)
GetAccessoryList calls the GetAccessoryList RPC.
func (*ManagerClient) HasPermission1 ¶ added in v0.0.6
HasPermission1 calls the HasPermission1 RPC.
func (*ManagerClient) HasPermission1_1 ¶ added in v0.0.6
HasPermission1_1 calls the HasPermission1_1 RPC.
func (*ManagerClient) OpenAccessory ¶ added in v0.0.6
OpenAccessory calls the OpenAccessory RPC.
func (*ManagerClient) OpenAccessoryInputStream ¶ added in v0.0.6
OpenAccessoryInputStream calls the OpenAccessoryInputStream RPC.
func (*ManagerClient) OpenAccessoryOutputStream ¶ added in v0.0.6
OpenAccessoryOutputStream calls the OpenAccessoryOutputStream RPC.
func (*ManagerClient) OpenDevice ¶ added in v0.0.6
OpenDevice calls the OpenDevice RPC.
func (*ManagerClient) RequestPermission2 ¶ added in v0.0.6
RequestPermission2 calls the RequestPermission2 RPC.
func (*ManagerClient) RequestPermission2_1 ¶ added in v0.0.6
RequestPermission2_1 calls the RequestPermission2_1 RPC.
type RequestClient ¶ added in v0.0.6
type RequestClient struct {
// contains filtered or unexported fields
}
RequestClient wraps the gRPC RequestService client.
func NewRequestClient ¶ added in v0.0.6
func NewRequestClient(cc grpc.ClientConnInterface) *RequestClient
NewRequestClient creates a new Request client.
func (*RequestClient) Close ¶ added in v0.0.6
func (c *RequestClient) Close(ctx context.Context, handle int64) error
Close calls the Close RPC.
func (*RequestClient) GetClientData ¶ added in v0.0.6
GetClientData calls the GetClientData RPC.
func (*RequestClient) GetEndpoint ¶ added in v0.0.6
GetEndpoint calls the GetEndpoint RPC.
func (*RequestClient) Initialize ¶ added in v0.0.6
func (c *RequestClient) Initialize(ctx context.Context, handle int64, arg0 int64, arg1 int64) (bool, error)
Initialize calls the Initialize RPC.
func (*RequestClient) SetClientData ¶ added in v0.0.6
SetClientData calls the SetClientData RPC.