Added in API level 35
WifiP2pDiscoveryConfig
public
final
class
WifiP2pDiscoveryConfig
extends Object
implements
Parcelable
| java.lang.Object | |
| ↳ | android.net.wifi.p2p.WifiP2pDiscoveryConfig |
A class representing a Wi-Fi P2P scan configuration for setting up discovery.
Summary
Nested classes | |
|---|---|
class |
WifiP2pDiscoveryConfig.Builder
Builder for |
Inherited constants |
|---|
Fields | |
|---|---|
public
static
final
Creator<WifiP2pDiscoveryConfig> |
CREATOR
Implement the Parcelable interface |
Public methods | |
|---|---|
int
|
describeContents()
Implement the Parcelable interface |
int
|
getFrequencyMhz()
Get the frequency to scan in MHz. |
int
|
getScanType()
Get the type of this scan. |
String
|
toString()
Returns a string representation of the object. |
void
|
writeToParcel(Parcel dest, int flag |