wifi_p2p

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 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 WifiP2PManagerService client.

func NewClient

func NewClient(cc grpc.ClientConnInterface) *Client

NewClient creates a new wifi_p2p client.

func (*Client) AddExternalApprover

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

AddExternalApprover calls the AddExternalApprover RPC.

func (*Client) AddLocalService

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

AddLocalService calls the AddLocalService RPC.

func (*Client) AddServiceRequest

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

AddServiceRequest calls the AddServiceRequest RPC.

func (*Client) CancelConnect

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

CancelConnect calls the CancelConnect RPC.

func (*Client) ClearLocalServices

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

ClearLocalServices calls the ClearLocalServices RPC.

func (*Client) ClearServiceRequests

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

ClearServiceRequests calls the ClearServiceRequests RPC.

func (*Client) Connect

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

Connect calls the Connect RPC.

func (*Client) CreateGroup2_1

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

CreateGroup2_1 calls the CreateGroup2_1 RPC.

func (*Client) CreateGroup3

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

CreateGroup3 calls the CreateGroup3 RPC.

func (*Client) DiscoverPeers

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

DiscoverPeers calls the DiscoverPeers RPC.

func (*Client) DiscoverPeersOnSocialChannels

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

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

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

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

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

GetListenState calls the GetListenState RPC.

func (*Client) GetP2PMaxAllowedVendorElementsLengthBytes

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

GetP2PMaxAllowedVendorElementsLengthBytes calls the GetP2PMaxAllowedVendorElementsLengthBytes RPC.

func (*Client) Initialize

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

Initialize calls the Initialize RPC.

func (*Client) IsChannelConstrainedDiscoverySupported

func (c *Client) IsChannelConstrainedDiscoverySupported(ctx context.Context) (bool, error)

IsChannelConstrainedDiscoverySupported calls the IsChannelConstrainedDiscoverySupported RPC.

func (*Client) IsGroupClientRemovalSupported

func (c *Client) IsGroupClientRemovalSupported(ctx context.Context) (bool, error)

IsGroupClientRemovalSupported calls the IsGroupClientRemovalSupported RPC.

func (*Client) IsGroupOwnerIPv6LinkLocalAddressProvided

func (c *Client) IsGroupOwnerIPv6LinkLocalAddressProvided(ctx context.Context) (bool, error)

IsGroupOwnerIPv6LinkLocalAddressProvided calls the IsGroupOwnerIPv6LinkLocalAddressProvided RPC.

func (*Client) IsPccModeSupported

func (c *Client) IsPccModeSupported(ctx context.Context) (bool, error)

IsPccModeSupported calls the IsPccModeSupported RPC.

func (*Client) IsSetVendorElementsSupported

func (c *Client) IsSetVendorElementsSupported(ctx context.Context) (bool, error)

IsSetVendorElementsSupported calls the IsSetVendorElementsSupported RPC.

func (*Client) IsWiFiDirectR2Supported

func (c *Client) IsWiFiDirectR2Supported(ctx context.Context) (bool, error)

IsWiFiDirectR2Supported calls the IsWiFiDirectR2Supported RPC.

func (*Client) RegisterWifiP2PListener

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

RegisterWifiP2PListener calls the RegisterWifiP2PListener RPC.

func (*Client) RemoveClient

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

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

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

RemoveGroup calls the RemoveGroup RPC.

func (*Client) RemoveLocalService

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

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

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

RequestConnectionInfo calls the RequestConnectionInfo RPC.

func (*Client) RequestDeviceInfo

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

RequestDeviceInfo calls the RequestDeviceInfo RPC.

func (*Client) RequestDirInfo

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

RequestDirInfo calls the RequestDirInfo RPC.

func (*Client) RequestDiscoveryState

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

RequestDiscoveryState calls the RequestDiscoveryState RPC.

func (*Client) RequestGroupInfo

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

RequestGroupInfo calls the RequestGroupInfo RPC.

func (*Client) RequestNetworkInfo

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

RequestNetworkInfo calls the RequestNetworkInfo RPC.

func (*Client) RequestP2PState

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

RequestP2PState calls the RequestP2PState RPC.

func (*Client) RequestPeers

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

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

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

SetServiceResponseListener calls the SetServiceResponseListener RPC.

func (*Client) SetUpnpServiceResponseListener

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

SetUpnpServiceResponseListener calls the SetUpnpServiceResponseListener RPC.

func (*Client) SetVendorElements

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

SetVendorElements calls the SetVendorElements RPC.

func (*Client) SetWfdInfo

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

SetWfdInfo calls the SetWfdInfo RPC.

func (*Client) StartListening

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

StartListening calls the StartListening RPC.

func (*Client) StartPeerDiscovery

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

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

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

StopListening calls the StopListening RPC.

func (*Client) StopPeerDiscovery

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

StopPeerDiscovery calls the StopPeerDiscovery RPC.

func (*Client) UnregisterWifiP2PListener

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

UnregisterWifiP2PListener calls the UnregisterWifiP2PListener RPC.

func (*Client) ValidateDirInfo

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

ValidateDirInfo calls the ValidateDirInfo RPC.

Jump to

Keyboard shortcuts

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