Documentation
¶
Index ¶
- type Client
- func (c *Client) AddExternalApprover(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
- func (c *Client) AddLocalService(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
- func (c *Client) AddServiceRequest(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
- func (c *Client) CancelConnect(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) ClearLocalServices(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) ClearServiceRequests(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) Connect(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
- func (c *Client) CreateGroup2_1(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) CreateGroup3(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
- func (c *Client) DiscoverPeers(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) DiscoverPeersOnSocialChannels(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) DiscoverPeersOnSpecificFrequency(ctx context.Context, arg0 int64, arg1 int32, arg2 int64) error
- func (c *Client) DiscoverServices(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) DiscoverUsdBasedServices(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
- func (c *Client) GetListenState(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
- func (c *Client) GetP2PMaxAllowedVendorElementsLengthBytes(ctx context.Context) (int32, error)
- func (c *Client) Initialize(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) (int64, error)
- func (c *Client) IsChannelConstrainedDiscoverySupported(ctx context.Context) (bool, error)
- func (c *Client) IsGroupClientRemovalSupported(ctx context.Context) (bool, error)
- func (c *Client) IsGroupOwnerIPv6LinkLocalAddressProvided(ctx context.Context) (bool, error)
- func (c *Client) IsPccModeSupported(ctx context.Context) (bool, error)
- func (c *Client) IsSetVendorElementsSupported(ctx context.Context) (bool, error)
- func (c *Client) IsWiFiDirectR2Supported(ctx context.Context) (bool, error)
- func (c *Client) RegisterWifiP2PListener(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) RemoveClient(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
- func (c *Client) RemoveExternalApprover(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
- func (c *Client) RemoveGroup(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) RemoveLocalService(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
- func (c *Client) RemoveServiceRequest(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
- func (c *Client) RequestConnectionInfo(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) RequestDeviceInfo(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) RequestDirInfo(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
- func (c *Client) RequestDiscoveryState(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) RequestGroupInfo(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) RequestNetworkInfo(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) RequestP2PState(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) RequestPeers(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) SetConnectionRequestResult4(ctx context.Context, arg0 int64, arg1 int64, arg2 int32, arg3 int64) error
- func (c *Client) SetConnectionRequestResult5_1(ctx context.Context, arg0 int64, arg1 int64, arg2 int32, arg3 string, ...) error
- func (c *Client) SetDnsSdResponseListeners(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
- func (c *Client) SetServiceResponseListener(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) SetUpnpServiceResponseListener(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) SetVendorElements(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
- func (c *Client) SetWfdInfo(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
- func (c *Client) StartListening(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) StartPeerDiscovery(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
- func (c *Client) StartUsdBasedLocalServiceAdvertisement(ctx context.Context, arg0 int64, arg1 int64, arg2 int64, arg3 int64) error
- func (c *Client) StopListening(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) StopPeerDiscovery(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) UnregisterWifiP2PListener(ctx context.Context, arg0 int64) error
- func (c *Client) ValidateDirInfo(ctx context.Context, arg0 int64, arg1 int64, arg2 int64, arg3 int64) 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 WifiP2PManagerService client.
func NewClient ¶
func NewClient(cc grpc.ClientConnInterface) *Client
NewClient creates a new wifi_p2p client.
func (*Client) AddExternalApprover ¶
AddExternalApprover calls the AddExternalApprover RPC.
func (*Client) AddLocalService ¶
AddLocalService calls the AddLocalService RPC.
func (*Client) AddServiceRequest ¶
AddServiceRequest calls the AddServiceRequest RPC.
func (*Client) CancelConnect ¶
CancelConnect calls the CancelConnect RPC.
func (*Client) ClearLocalServices ¶
ClearLocalServices calls the ClearLocalServices RPC.
func (*Client) ClearServiceRequests ¶
ClearServiceRequests calls the ClearServiceRequests RPC.
func (*Client) CreateGroup2_1 ¶
CreateGroup2_1 calls the CreateGroup2_1 RPC.
func (*Client) CreateGroup3 ¶
CreateGroup3 calls the CreateGroup3 RPC.
func (*Client) DiscoverPeers ¶
DiscoverPeers calls the DiscoverPeers RPC.
func (*Client) DiscoverPeersOnSocialChannels ¶
DiscoverPeersOnSocialChannels calls the DiscoverPeersOnSocialChannels RPC.
func (*Client) DiscoverPeersOnSpecificFrequency ¶
func (c *Client) DiscoverPeersOnSpecificFrequency(ctx context.Context, arg0 int64, arg1 int32, arg2 int64) error
DiscoverPeersOnSpecificFrequency calls the DiscoverPeersOnSpecificFrequency RPC.
func (*Client) DiscoverServices ¶
DiscoverServices calls the DiscoverServices RPC.
func (*Client) DiscoverUsdBasedServices ¶
func (c *Client) DiscoverUsdBasedServices(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
DiscoverUsdBasedServices calls the DiscoverUsdBasedServices RPC.
func (*Client) GetListenState ¶
GetListenState calls the GetListenState RPC.
func (*Client) GetP2PMaxAllowedVendorElementsLengthBytes ¶
GetP2PMaxAllowedVendorElementsLengthBytes calls the GetP2PMaxAllowedVendorElementsLengthBytes RPC.
func (*Client) Initialize ¶
Initialize calls the Initialize RPC.
func (*Client) IsChannelConstrainedDiscoverySupported ¶
IsChannelConstrainedDiscoverySupported calls the IsChannelConstrainedDiscoverySupported RPC.
func (*Client) IsGroupClientRemovalSupported ¶
IsGroupClientRemovalSupported calls the IsGroupClientRemovalSupported RPC.
func (*Client) IsGroupOwnerIPv6LinkLocalAddressProvided ¶
IsGroupOwnerIPv6LinkLocalAddressProvided calls the IsGroupOwnerIPv6LinkLocalAddressProvided RPC.
func (*Client) IsPccModeSupported ¶
IsPccModeSupported calls the IsPccModeSupported RPC.
func (*Client) IsSetVendorElementsSupported ¶
IsSetVendorElementsSupported calls the IsSetVendorElementsSupported RPC.
func (*Client) IsWiFiDirectR2Supported ¶
IsWiFiDirectR2Supported calls the IsWiFiDirectR2Supported RPC.
func (*Client) RegisterWifiP2PListener ¶
RegisterWifiP2PListener calls the RegisterWifiP2PListener RPC.
func (*Client) RemoveClient ¶
RemoveClient calls the RemoveClient RPC.
func (*Client) RemoveExternalApprover ¶
func (c *Client) RemoveExternalApprover(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
RemoveExternalApprover calls the RemoveExternalApprover RPC.
func (*Client) RemoveGroup ¶
RemoveGroup calls the RemoveGroup RPC.
func (*Client) RemoveLocalService ¶
RemoveLocalService calls the RemoveLocalService RPC.
func (*Client) RemoveServiceRequest ¶
func (c *Client) RemoveServiceRequest(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
RemoveServiceRequest calls the RemoveServiceRequest RPC.
func (*Client) RequestConnectionInfo ¶
RequestConnectionInfo calls the RequestConnectionInfo RPC.
func (*Client) RequestDeviceInfo ¶
RequestDeviceInfo calls the RequestDeviceInfo RPC.
func (*Client) RequestDirInfo ¶
RequestDirInfo calls the RequestDirInfo RPC.
func (*Client) RequestDiscoveryState ¶
RequestDiscoveryState calls the RequestDiscoveryState RPC.
func (*Client) RequestGroupInfo ¶
RequestGroupInfo calls the RequestGroupInfo RPC.
func (*Client) RequestNetworkInfo ¶
RequestNetworkInfo calls the RequestNetworkInfo RPC.
func (*Client) RequestP2PState ¶
RequestP2PState calls the RequestP2PState RPC.
func (*Client) RequestPeers ¶
RequestPeers calls the RequestPeers RPC.
func (*Client) SetConnectionRequestResult4 ¶
func (c *Client) SetConnectionRequestResult4(ctx context.Context, arg0 int64, arg1 int64, arg2 int32, arg3 int64) error
SetConnectionRequestResult4 calls the SetConnectionRequestResult4 RPC.
func (*Client) SetConnectionRequestResult5_1 ¶
func (c *Client) SetConnectionRequestResult5_1(ctx context.Context, arg0 int64, arg1 int64, arg2 int32, arg3 string, arg4 int64) error
SetConnectionRequestResult5_1 calls the SetConnectionRequestResult5_1 RPC.
func (*Client) SetDnsSdResponseListeners ¶
func (c *Client) SetDnsSdResponseListeners(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
SetDnsSdResponseListeners calls the SetDnsSdResponseListeners RPC.
func (*Client) SetServiceResponseListener ¶
SetServiceResponseListener calls the SetServiceResponseListener RPC.
func (*Client) SetUpnpServiceResponseListener ¶
SetUpnpServiceResponseListener calls the SetUpnpServiceResponseListener RPC.
func (*Client) SetVendorElements ¶
SetVendorElements calls the SetVendorElements RPC.
func (*Client) SetWfdInfo ¶
SetWfdInfo calls the SetWfdInfo RPC.
func (*Client) StartListening ¶
StartListening calls the StartListening RPC.
func (*Client) StartPeerDiscovery ¶
StartPeerDiscovery calls the StartPeerDiscovery RPC.
func (*Client) StartUsdBasedLocalServiceAdvertisement ¶
func (c *Client) StartUsdBasedLocalServiceAdvertisement(ctx context.Context, arg0 int64, arg1 int64, arg2 int64, arg3 int64) error
StartUsdBasedLocalServiceAdvertisement calls the StartUsdBasedLocalServiceAdvertisement RPC.
func (*Client) StopListening ¶
StopListening calls the StopListening RPC.
func (*Client) StopPeerDiscovery ¶
StopPeerDiscovery calls the StopPeerDiscovery RPC.
func (*Client) UnregisterWifiP2PListener ¶
UnregisterWifiP2PListener calls the UnregisterWifiP2PListener RPC.