@Implements(value=android.net.wifi.p2p.WifiP2pManager.class) public class ShadowWifiP2pManager extends java.lang.Object
Constructor and Description |
---|
ShadowWifiP2pManager() |
Modifier and Type | Method and Description |
---|---|
protected void |
createGroup(android.net.wifi.p2p.WifiP2pManager.Channel c,
android.net.wifi.p2p.WifiP2pManager.ActionListener al) |
android.net.wifi.p2p.WifiP2pManager.GroupInfoListener |
getGroupInfoListener() |
int |
getListeningChannel() |
int |
getOperatingChannel() |
protected android.net.wifi.p2p.WifiP2pManager.Channel |
initialize(android.content.Context context,
android.os.Looper looper,
android.net.wifi.p2p.WifiP2pManager.ChannelListener listener) |
protected void |
removeGroup(android.net.wifi.p2p.WifiP2pManager.Channel c,
android.net.wifi.p2p.WifiP2pManager.ActionListener al) |
protected void |
requestGroupInfo(android.net.wifi.p2p.WifiP2pManager.Channel c,
android.net.wifi.p2p.WifiP2pManager.GroupInfoListener gl) |
void |
setGroupInfo(android.net.wifi.p2p.WifiP2pManager.Channel channel,
android.net.wifi.p2p.WifiP2pGroup wifiP2pGroup) |
void |
setNextActionFailure(int nextActionFailure) |
protected void |
setWifiP2pChannels(android.net.wifi.p2p.WifiP2pManager.Channel c,
int listeningChannel,
int operatingChannel,
android.net.wifi.p2p.WifiP2pManager.ActionListener al) |
public int getListeningChannel()
public int getOperatingChannel()
public android.net.wifi.p2p.WifiP2pManager.GroupInfoListener getGroupInfoListener()
@Implementation(minSdk=19) protected void setWifiP2pChannels(android.net.wifi.p2p.WifiP2pManager.Channel c, int listeningChannel, int operatingChannel, android.net.wifi.p2p.WifiP2pManager.ActionListener al)
@Implementation protected android.net.wifi.p2p.WifiP2pManager.Channel initialize(android.content.Context context, android.os.Looper looper, android.net.wifi.p2p.WifiP2pManager.ChannelListener listener)
@Implementation protected void createGroup(android.net.wifi.p2p.WifiP2pManager.Channel c, android.net.wifi.p2p.WifiP2pManager.ActionListener al)
@Implementation protected void requestGroupInfo(android.net.wifi.p2p.WifiP2pManager.Channel c, android.net.wifi.p2p.WifiP2pManager.GroupInfoListener gl)
@Implementation protected void removeGroup(android.net.wifi.p2p.WifiP2pManager.Channel c, android.net.wifi.p2p.WifiP2pManager.ActionListener al)
public void setNextActionFailure(int nextActionFailure)
public void setGroupInfo(android.net.wifi.p2p.WifiP2pManager.Channel channel, android.net.wifi.p2p.WifiP2pGroup wifiP2pGroup)