Refine WifiP2pManagerHelper
This commit is contained in:
@@ -10,17 +10,7 @@ import java.lang.reflect.Proxy
|
|||||||
import java.util.regex.Pattern
|
import java.util.regex.Pattern
|
||||||
|
|
||||||
object WifiP2pManagerHelper {
|
object WifiP2pManagerHelper {
|
||||||
/** Interface for callback invocation when stored group info list is available {@hide} */
|
private const val TAG = "WifiP2pManagerHelper"
|
||||||
interface PersistentGroupInfoListener {
|
|
||||||
/**
|
|
||||||
* The requested stored p2p group info list is available
|
|
||||||
* @param groups Wi-Fi p2p group info list
|
|
||||||
*/
|
|
||||||
fun onPersistentGroupInfoAvailable(groups: Collection<WifiP2pGroup>)
|
|
||||||
}
|
|
||||||
|
|
||||||
const val TAG = "WifiP2pManagerHelper"
|
|
||||||
const val TEMPORARY_NET_ID = -1
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Matches the output of dumpsys wifip2p. This part is available since Android 4.2.
|
* Matches the output of dumpsys wifip2p. This part is available since Android 4.2.
|
||||||
|
|||||||
Reference in New Issue
Block a user