# Print output for @column tags ?> WifiP2pManager.Channel - Android SDK | Android Developers

Most visited

Recently visited

WifiP2pManager.Channel

public static class WifiP2pManager.Channel
extends Object implements AutoCloseable

java.lang.Object
   ↳ android.net.wifi.p2p.WifiP2pManager.Channel


A channel that connects the application to the Wifi p2p framework. Most p2p operations require a Channel as an argument. An instance of Channel is obtained by doing a call on WifiP2pManager.initialize(Context, Looper, WifiP2pManager.ChannelListener)

Summary

Public methods

void close()

Close the current P2P connection and indicate to the P2P service that connections created by the app can be removed.

Inherited methods

Public methods

close

public void close ()

Close the current P2P connection and indicate to the P2P service that connections created by the app can be removed.