android.net.wifi.p2p.nsd.WifiP2pServiceInfo Java Examples
The following examples show how to use
android.net.wifi.p2p.nsd.WifiP2pServiceInfo.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source Project: ShareBox Author: Kerr1Gan File: WifiDirectGroupManager.java License: Apache License 2.0 | 5 votes |
private WifiDirectGroupManager(WifiDirectManager manager,Context context){ mWifiP2pManager=manager.getWifiP2pManager(); mChannel=manager.getChannel(); mWifiDirectManager=manager; mServiceRequest=WifiP2pServiceRequest.newInstance (WifiP2pServiceInfo.SERVICE_TYPE_ALL); mWifiP2pManager.setDnsSdResponseListeners(mChannel, this, this); mHandler=new MHandler(context.getMainLooper()); }
Example #2
Source Project: WiFi-Buddy Author: Crash-Test-Buddies File: WifiDirectHandler.java License: MIT License | 4 votes |
public WifiP2pServiceInfo getWifiP2pServiceInfo() { return this.wifiP2pServiceInfo; }