Documentation
¶
Index ¶
- type Client
- func (c *Client) Associate(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
- func (c *Client) AttachSystemDataTransport(ctx context.Context, arg0 int32, arg1 int64, arg2 int64) error
- func (c *Client) BuildAssociationCancellationIntent(ctx context.Context) (int64, error)
- func (c *Client) BuildPermissionTransferUserConsentIntent(ctx context.Context, arg0 int32) (int64, error)
- func (c *Client) DetachSystemDataTransport(ctx context.Context, arg0 int32) error
- func (c *Client) DisableSystemDataSyncForTypes(ctx context.Context, arg0 int32, arg1 int32) error
- func (c *Client) Disassociate1(ctx context.Context, arg0 int32) error
- func (c *Client) Disassociate1_1(ctx context.Context, arg0 string) error
- func (c *Client) EnableSystemDataSyncForTypes(ctx context.Context, arg0 int32, arg1 int32) error
- func (c *Client) GetAssociations(ctx context.Context) (int64, error)
- func (c *Client) GetMyAssociations(ctx context.Context) (int64, error)
- func (c *Client) HasNotificationAccess(ctx context.Context, arg0 int64) (bool, error)
- func (c *Client) IsPermissionTransferUserConsented(ctx context.Context, arg0 int32) (bool, error)
- func (c *Client) RemoveBond(ctx context.Context, arg0 int32) (bool, error)
- func (c *Client) RequestNotificationAccess(ctx context.Context, arg0 int64) error
- func (c *Client) SetDeviceId(ctx context.Context, arg0 int32, arg1 int64) error
- func (c *Client) StartObservingDevicePresence1(ctx context.Context, arg0 int64) error
- func (c *Client) StartObservingDevicePresence1_1(ctx context.Context, arg0 string) error
- func (c *Client) StartSystemDataTransfer(ctx context.Context, arg0 int32, arg1 int64, arg2 int64) error
- func (c *Client) StopObservingDevicePresence1(ctx context.Context, arg0 int64) error
- func (c *Client) StopObservingDevicePresence1_1(ctx context.Context, arg0 string) 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 CompanionDeviceManagerService client.
func NewClient ¶
func NewClient(cc grpc.ClientConnInterface) *Client
NewClient creates a new companion client.
func (*Client) AttachSystemDataTransport ¶
func (c *Client) AttachSystemDataTransport(ctx context.Context, arg0 int32, arg1 int64, arg2 int64) error
AttachSystemDataTransport calls the AttachSystemDataTransport RPC.
func (*Client) BuildAssociationCancellationIntent ¶
BuildAssociationCancellationIntent calls the BuildAssociationCancellationIntent RPC.
func (*Client) BuildPermissionTransferUserConsentIntent ¶
func (c *Client) BuildPermissionTransferUserConsentIntent(ctx context.Context, arg0 int32) (int64, error)
BuildPermissionTransferUserConsentIntent calls the BuildPermissionTransferUserConsentIntent RPC.
func (*Client) DetachSystemDataTransport ¶
DetachSystemDataTransport calls the DetachSystemDataTransport RPC.
func (*Client) DisableSystemDataSyncForTypes ¶
DisableSystemDataSyncForTypes calls the DisableSystemDataSyncForTypes RPC.
func (*Client) Disassociate1 ¶
Disassociate1 calls the Disassociate1 RPC.
func (*Client) Disassociate1_1 ¶
Disassociate1_1 calls the Disassociate1_1 RPC.
func (*Client) EnableSystemDataSyncForTypes ¶
EnableSystemDataSyncForTypes calls the EnableSystemDataSyncForTypes RPC.
func (*Client) GetAssociations ¶
GetAssociations calls the GetAssociations RPC.
func (*Client) GetMyAssociations ¶
GetMyAssociations calls the GetMyAssociations RPC.
func (*Client) HasNotificationAccess ¶
HasNotificationAccess calls the HasNotificationAccess RPC.
func (*Client) IsPermissionTransferUserConsented ¶
IsPermissionTransferUserConsented calls the IsPermissionTransferUserConsented RPC.
func (*Client) RemoveBond ¶
RemoveBond calls the RemoveBond RPC.
func (*Client) RequestNotificationAccess ¶
RequestNotificationAccess calls the RequestNotificationAccess RPC.
func (*Client) SetDeviceId ¶
SetDeviceId calls the SetDeviceId RPC.
func (*Client) StartObservingDevicePresence1 ¶
StartObservingDevicePresence1 calls the StartObservingDevicePresence1 RPC.
func (*Client) StartObservingDevicePresence1_1 ¶
StartObservingDevicePresence1_1 calls the StartObservingDevicePresence1_1 RPC.
func (*Client) StartSystemDataTransfer ¶
func (c *Client) StartSystemDataTransfer(ctx context.Context, arg0 int32, arg1 int64, arg2 int64) error
StartSystemDataTransfer calls the StartSystemDataTransfer RPC.
func (*Client) StopObservingDevicePresence1 ¶
StopObservingDevicePresence1 calls the StopObservingDevicePresence1 RPC.