WifiNetworkSpecifier.Redact Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attempts to produce a band-only specifier on Android 12 and later.
[Android.Runtime.Register("redact", "()Landroid/net/NetworkSpecifier;", "", ApiSince=31)]
public Android.Net.NetworkSpecifier? Redact();
[<Android.Runtime.Register("redact", "()Landroid/net/NetworkSpecifier;", "", ApiSince=31)>]
member this.Redact : unit -> Android.Net.NetworkSpecifier
Returns
If redaction succeeds, a new specifier with the same band on Android 12 and later, or the current specifier on earlier platform versions.
- Attributes
Remarks
On Android 12 and later, redaction throws IllegalStateException if this specifier's Band is unspecified.
Java documentation for android.net.wifi.WifiNetworkSpecifier.redact().
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.