Documentation
¶
Index ¶
- type ControlClient
- func (c *ControlClient) DescribeContents(ctx context.Context) (int32, error)
- func (c *ControlClient) GetAppIntent(ctx context.Context) (int64, error)
- func (c *ControlClient) GetControlId(ctx context.Context) (string, error)
- func (c *ControlClient) GetControlTemplate(ctx context.Context) (int64, error)
- func (c *ControlClient) GetCustomColor(ctx context.Context) (int64, error)
- func (c *ControlClient) GetCustomIcon(ctx context.Context) (int64, error)
- func (c *ControlClient) GetDeviceType(ctx context.Context) (int32, error)
- func (c *ControlClient) GetStatus(ctx context.Context) (int32, error)
- func (c *ControlClient) GetStatusText(ctx context.Context) (int64, error)
- func (c *ControlClient) GetStructure(ctx context.Context) (int64, error)
- func (c *ControlClient) GetSubtitle(ctx context.Context) (int64, error)
- func (c *ControlClient) GetTitle(ctx context.Context) (int64, error)
- func (c *ControlClient) GetZone(ctx context.Context) (int64, error)
- func (c *ControlClient) IsAuthRequired(ctx context.Context) (bool, error)
- func (c *ControlClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
- type ControlStatefulBuilderClient
- func (c *ControlStatefulBuilderClient) Build(ctx context.Context) (int64, error)
- func (c *ControlStatefulBuilderClient) SetAppIntent(ctx context.Context, arg0 int64) (int64, error)
- func (c *ControlStatefulBuilderClient) SetAuthRequired(ctx context.Context, arg0 bool) (int64, error)
- func (c *ControlStatefulBuilderClient) SetControlId(ctx context.Context, arg0 string) (int64, error)
- func (c *ControlStatefulBuilderClient) SetControlTemplate(ctx context.Context, arg0 int64) (int64, error)
- func (c *ControlStatefulBuilderClient) SetCustomColor(ctx context.Context, arg0 int64) (int64, error)
- func (c *ControlStatefulBuilderClient) SetCustomIcon(ctx context.Context, arg0 int64) (int64, error)
- func (c *ControlStatefulBuilderClient) SetDeviceType(ctx context.Context, arg0 int32) (int64, error)
- func (c *ControlStatefulBuilderClient) SetStatus(ctx context.Context, arg0 int32) (int64, error)
- func (c *ControlStatefulBuilderClient) SetStatusText(ctx context.Context, arg0 string) (int64, error)
- func (c *ControlStatefulBuilderClient) SetStructure(ctx context.Context, arg0 string) (int64, error)
- func (c *ControlStatefulBuilderClient) SetSubtitle(ctx context.Context, arg0 string) (int64, error)
- func (c *ControlStatefulBuilderClient) SetTitle(ctx context.Context, arg0 string) (int64, error)
- func (c *ControlStatefulBuilderClient) SetZone(ctx context.Context, arg0 string) (int64, error)
- type ControlStatelessBuilderClient
- func (c *ControlStatelessBuilderClient) Build(ctx context.Context) (int64, error)
- func (c *ControlStatelessBuilderClient) SetAppIntent(ctx context.Context, arg0 int64) (int64, error)
- func (c *ControlStatelessBuilderClient) SetControlId(ctx context.Context, arg0 string) (int64, error)
- func (c *ControlStatelessBuilderClient) SetCustomColor(ctx context.Context, arg0 int64) (int64, error)
- func (c *ControlStatelessBuilderClient) SetCustomIcon(ctx context.Context, arg0 int64) (int64, error)
- func (c *ControlStatelessBuilderClient) SetDeviceType(ctx context.Context, arg0 int32) (int64, error)
- func (c *ControlStatelessBuilderClient) SetStructure(ctx context.Context, arg0 string) (int64, error)
- func (c *ControlStatelessBuilderClient) SetSubtitle(ctx context.Context, arg0 string) (int64, error)
- func (c *ControlStatelessBuilderClient) SetTitle(ctx context.Context, arg0 string) (int64, error)
- func (c *ControlStatelessBuilderClient) SetZone(ctx context.Context, arg0 string) (int64, error)
- type DeviceTypesClient
- type ProviderServiceClient
- func (c *ProviderServiceClient) CreatePublisherForAllAvailable(ctx context.Context) (int64, error)
- func (c *ProviderServiceClient) CreatePublisherForSuggested(ctx context.Context) (int64, error)
- func (c *ProviderServiceClient) OnBind(ctx context.Context, arg0 int64) (int64, error)
- func (c *ProviderServiceClient) OnUnbind(ctx context.Context, arg0 int64) (bool, error)
- func (c *ProviderServiceClient) RequestAddControl(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlClient ¶
type ControlClient struct {
// contains filtered or unexported fields
}
ControlClient wraps the gRPC ControlService client.
func NewControlClient ¶
func NewControlClient(cc grpc.ClientConnInterface) *ControlClient
NewControlClient creates a new Control client.
func (*ControlClient) DescribeContents ¶
func (c *ControlClient) DescribeContents(ctx context.Context) (int32, error)
DescribeContents calls the DescribeContents RPC.
func (*ControlClient) GetAppIntent ¶
func (c *ControlClient) GetAppIntent(ctx context.Context) (int64, error)
GetAppIntent calls the GetAppIntent RPC.
func (*ControlClient) GetControlId ¶
func (c *ControlClient) GetControlId(ctx context.Context) (string, error)
GetControlId calls the GetControlId RPC.
func (*ControlClient) GetControlTemplate ¶
func (c *ControlClient) GetControlTemplate(ctx context.Context) (int64, error)
GetControlTemplate calls the GetControlTemplate RPC.
func (*ControlClient) GetCustomColor ¶
func (c *ControlClient) GetCustomColor(ctx context.Context) (int64, error)
GetCustomColor calls the GetCustomColor RPC.
func (*ControlClient) GetCustomIcon ¶
func (c *ControlClient) GetCustomIcon(ctx context.Context) (int64, error)
GetCustomIcon calls the GetCustomIcon RPC.
func (*ControlClient) GetDeviceType ¶
func (c *ControlClient) GetDeviceType(ctx context.Context) (int32, error)
GetDeviceType calls the GetDeviceType RPC.
func (*ControlClient) GetStatus ¶
func (c *ControlClient) GetStatus(ctx context.Context) (int32, error)
GetStatus calls the GetStatus RPC.
func (*ControlClient) GetStatusText ¶
func (c *ControlClient) GetStatusText(ctx context.Context) (int64, error)
GetStatusText calls the GetStatusText RPC.
func (*ControlClient) GetStructure ¶
func (c *ControlClient) GetStructure(ctx context.Context) (int64, error)
GetStructure calls the GetStructure RPC.
func (*ControlClient) GetSubtitle ¶
func (c *ControlClient) GetSubtitle(ctx context.Context) (int64, error)
GetSubtitle calls the GetSubtitle RPC.
func (*ControlClient) GetTitle ¶
func (c *ControlClient) GetTitle(ctx context.Context) (int64, error)
GetTitle calls the GetTitle RPC.
func (*ControlClient) GetZone ¶
func (c *ControlClient) GetZone(ctx context.Context) (int64, error)
GetZone calls the GetZone RPC.
func (*ControlClient) IsAuthRequired ¶
func (c *ControlClient) IsAuthRequired(ctx context.Context) (bool, error)
IsAuthRequired calls the IsAuthRequired RPC.
func (*ControlClient) WriteToParcel ¶
WriteToParcel calls the WriteToParcel RPC.
type ControlStatefulBuilderClient ¶
type ControlStatefulBuilderClient struct {
// contains filtered or unexported fields
}
ControlStatefulBuilderClient wraps the gRPC ControlStatefulBuilderService client.
func NewControlStatefulBuilderClient ¶
func NewControlStatefulBuilderClient(cc grpc.ClientConnInterface) *ControlStatefulBuilderClient
NewControlStatefulBuilderClient creates a new ControlStatefulBuilder client.
func (*ControlStatefulBuilderClient) Build ¶
func (c *ControlStatefulBuilderClient) Build(ctx context.Context) (int64, error)
Build calls the Build RPC.
func (*ControlStatefulBuilderClient) SetAppIntent ¶
SetAppIntent calls the SetAppIntent RPC.
func (*ControlStatefulBuilderClient) SetAuthRequired ¶
func (c *ControlStatefulBuilderClient) SetAuthRequired(ctx context.Context, arg0 bool) (int64, error)
SetAuthRequired calls the SetAuthRequired RPC.
func (*ControlStatefulBuilderClient) SetControlId ¶
func (c *ControlStatefulBuilderClient) SetControlId(ctx context.Context, arg0 string) (int64, error)
SetControlId calls the SetControlId RPC.
func (*ControlStatefulBuilderClient) SetControlTemplate ¶
func (c *ControlStatefulBuilderClient) SetControlTemplate(ctx context.Context, arg0 int64) (int64, error)
SetControlTemplate calls the SetControlTemplate RPC.
func (*ControlStatefulBuilderClient) SetCustomColor ¶
func (c *ControlStatefulBuilderClient) SetCustomColor(ctx context.Context, arg0 int64) (int64, error)
SetCustomColor calls the SetCustomColor RPC.
func (*ControlStatefulBuilderClient) SetCustomIcon ¶
func (c *ControlStatefulBuilderClient) SetCustomIcon(ctx context.Context, arg0 int64) (int64, error)
SetCustomIcon calls the SetCustomIcon RPC.
func (*ControlStatefulBuilderClient) SetDeviceType ¶
func (c *ControlStatefulBuilderClient) SetDeviceType(ctx context.Context, arg0 int32) (int64, error)
SetDeviceType calls the SetDeviceType RPC.
func (*ControlStatefulBuilderClient) SetStatusText ¶
func (c *ControlStatefulBuilderClient) SetStatusText(ctx context.Context, arg0 string) (int64, error)
SetStatusText calls the SetStatusText RPC.
func (*ControlStatefulBuilderClient) SetStructure ¶
func (c *ControlStatefulBuilderClient) SetStructure(ctx context.Context, arg0 string) (int64, error)
SetStructure calls the SetStructure RPC.
func (*ControlStatefulBuilderClient) SetSubtitle ¶
SetSubtitle calls the SetSubtitle RPC.
type ControlStatelessBuilderClient ¶
type ControlStatelessBuilderClient struct {
// contains filtered or unexported fields
}
ControlStatelessBuilderClient wraps the gRPC ControlStatelessBuilderService client.
func NewControlStatelessBuilderClient ¶
func NewControlStatelessBuilderClient(cc grpc.ClientConnInterface) *ControlStatelessBuilderClient
NewControlStatelessBuilderClient creates a new ControlStatelessBuilder client.
func (*ControlStatelessBuilderClient) Build ¶
func (c *ControlStatelessBuilderClient) Build(ctx context.Context) (int64, error)
Build calls the Build RPC.
func (*ControlStatelessBuilderClient) SetAppIntent ¶
func (c *ControlStatelessBuilderClient) SetAppIntent(ctx context.Context, arg0 int64) (int64, error)
SetAppIntent calls the SetAppIntent RPC.
func (*ControlStatelessBuilderClient) SetControlId ¶
func (c *ControlStatelessBuilderClient) SetControlId(ctx context.Context, arg0 string) (int64, error)
SetControlId calls the SetControlId RPC.
func (*ControlStatelessBuilderClient) SetCustomColor ¶
func (c *ControlStatelessBuilderClient) SetCustomColor(ctx context.Context, arg0 int64) (int64, error)
SetCustomColor calls the SetCustomColor RPC.
func (*ControlStatelessBuilderClient) SetCustomIcon ¶
func (c *ControlStatelessBuilderClient) SetCustomIcon(ctx context.Context, arg0 int64) (int64, error)
SetCustomIcon calls the SetCustomIcon RPC.
func (*ControlStatelessBuilderClient) SetDeviceType ¶
func (c *ControlStatelessBuilderClient) SetDeviceType(ctx context.Context, arg0 int32) (int64, error)
SetDeviceType calls the SetDeviceType RPC.
func (*ControlStatelessBuilderClient) SetStructure ¶
func (c *ControlStatelessBuilderClient) SetStructure(ctx context.Context, arg0 string) (int64, error)
SetStructure calls the SetStructure RPC.
func (*ControlStatelessBuilderClient) SetSubtitle ¶
func (c *ControlStatelessBuilderClient) SetSubtitle(ctx context.Context, arg0 string) (int64, error)
SetSubtitle calls the SetSubtitle RPC.
type DeviceTypesClient ¶
type DeviceTypesClient struct {
// contains filtered or unexported fields
}
DeviceTypesClient wraps the gRPC DeviceTypesService client.
func NewDeviceTypesClient ¶
func NewDeviceTypesClient(cc grpc.ClientConnInterface) *DeviceTypesClient
NewDeviceTypesClient creates a new DeviceTypes client.
func (*DeviceTypesClient) ValidDeviceType ¶
ValidDeviceType calls the ValidDeviceType RPC.
type ProviderServiceClient ¶
type ProviderServiceClient struct {
// contains filtered or unexported fields
}
ProviderServiceClient wraps the gRPC ProviderServiceService client.
func NewProviderServiceClient ¶
func NewProviderServiceClient(cc grpc.ClientConnInterface) *ProviderServiceClient
NewProviderServiceClient creates a new ProviderService client.
func (*ProviderServiceClient) CreatePublisherForAllAvailable ¶
func (c *ProviderServiceClient) CreatePublisherForAllAvailable(ctx context.Context) (int64, error)
CreatePublisherForAllAvailable calls the CreatePublisherForAllAvailable RPC.
func (*ProviderServiceClient) CreatePublisherForSuggested ¶
func (c *ProviderServiceClient) CreatePublisherForSuggested(ctx context.Context) (int64, error)
CreatePublisherForSuggested calls the CreatePublisherForSuggested RPC.
func (*ProviderServiceClient) RequestAddControl ¶
func (c *ProviderServiceClient) RequestAddControl(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
RequestAddControl calls the RequestAddControl RPC.