companion

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 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 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) Associate

func (c *Client) Associate(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error

Associate calls the Associate RPC.

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

func (c *Client) BuildAssociationCancellationIntent(ctx context.Context) (int64, error)

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

func (c *Client) DetachSystemDataTransport(ctx context.Context, arg0 int32) error

DetachSystemDataTransport calls the DetachSystemDataTransport RPC.

func (*Client) DisableSystemDataSyncForTypes

func (c *Client) DisableSystemDataSyncForTypes(ctx context.Context, arg0 int32, arg1 int32) error

DisableSystemDataSyncForTypes calls the DisableSystemDataSyncForTypes RPC.

func (*Client) Disassociate1

func (c *Client) Disassociate1(ctx context.Context, arg0 int32) error

Disassociate1 calls the Disassociate1 RPC.

func (*Client) Disassociate1_1

func (c *Client) Disassociate1_1(ctx context.Context, arg0 string) error

Disassociate1_1 calls the Disassociate1_1 RPC.

func (*Client) EnableSystemDataSyncForTypes

func (c *Client) EnableSystemDataSyncForTypes(ctx context.Context, arg0 int32, arg1 int32) error

EnableSystemDataSyncForTypes calls the EnableSystemDataSyncForTypes RPC.

func (*Client) GetAssociations

func (c *Client) GetAssociations(ctx context.Context) (int64, error)

GetAssociations calls the GetAssociations RPC.

func (*Client) GetMyAssociations

func (c *Client) GetMyAssociations(ctx context.Context) (int64, error)

GetMyAssociations calls the GetMyAssociations RPC.

func (*Client) HasNotificationAccess

func (c *Client) HasNotificationAccess(ctx context.Context, arg0 int64) (bool, error)

HasNotificationAccess calls the HasNotificationAccess RPC.

func (*Client) IsPermissionTransferUserConsented

func (c *Client) IsPermissionTransferUserConsented(ctx context.Context, arg0 int32) (bool, error)

IsPermissionTransferUserConsented calls the IsPermissionTransferUserConsented RPC.

func (*Client) RemoveBond

func (c *Client) RemoveBond(ctx context.Context, arg0 int32) (bool, error)

RemoveBond calls the RemoveBond RPC.

func (*Client) RequestNotificationAccess

func (c *Client) RequestNotificationAccess(ctx context.Context, arg0 int64) error

RequestNotificationAccess calls the RequestNotificationAccess RPC.

func (*Client) SetDeviceId

func (c *Client) SetDeviceId(ctx context.Context, arg0 int32, arg1 int64) error

SetDeviceId calls the SetDeviceId RPC.

func (*Client) StartObservingDevicePresence1

func (c *Client) StartObservingDevicePresence1(ctx context.Context, arg0 int64) error

StartObservingDevicePresence1 calls the StartObservingDevicePresence1 RPC.

func (*Client) StartObservingDevicePresence1_1

func (c *Client) StartObservingDevicePresence1_1(ctx context.Context, arg0 string) error

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

func (c *Client) StopObservingDevicePresence1(ctx context.Context, arg0 int64) error

StopObservingDevicePresence1 calls the StopObservingDevicePresence1 RPC.

func (*Client) StopObservingDevicePresence1_1

func (c *Client) StopObservingDevicePresence1_1(ctx context.Context, arg0 string) error

StopObservingDevicePresence1_1 calls the StopObservingDevicePresence1_1 RPC.

Jump to

Keyboard shortcuts

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