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