Język

WifiManager.InterfaceCreationImpact Constructors

Definition

Overloads

Name Description
WifiManager.InterfaceCreationImpact(Int32, ICollection<String>)

Creates an impact record with an interface type and affected package names.

WifiManager.InterfaceCreationImpact(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

WifiManager.InterfaceCreationImpact(Int32, ICollection<String>)

Creates an impact record with an interface type and affected package names.

[Android.Runtime.Register(".ctor", "(ILjava/util/Set;)V", "", ApiSince=33)]
public InterfaceCreationImpact(int interfaceType, System.Collections.Generic.ICollection<string> packages);
[<Android.Runtime.Register(".ctor", "(ILjava/util/Set;)V", "", ApiSince=33)>]
new Android.Net.Wifi.WifiManager.InterfaceCreationImpact : int * System.Collections.Generic.ICollection<string> -> Android.Net.Wifi.WifiManager.InterfaceCreationImpact

Parameters

interfaceType
Int32

Value is one of the following: WifiManager.WIFI_INTERFACE_TYPE_STA; WifiManager.WIFI_INTERFACE_TYPE_AP; WifiManager.WIFI_INTERFACE_TYPE_AWARE; WifiManager.WIFI_INTERFACE_TYPE_DIRECT

packages
ICollection<String>

The package names to associate with the interface that would be removed.

Attributes

Remarks

Android reference for android.net.wifi.WifiManager.InterfaceCreationImpact.InterfaceCreationImpact.

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.

Applies to

WifiManager.InterfaceCreationImpact(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

protected InterfaceCreationImpact(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Net.Wifi.WifiManager.InterfaceCreationImpact : nativeint * Android.Runtime.JniHandleOwnership -> Android.Net.Wifi.WifiManager.InterfaceCreationImpact

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

Remarks

The runtime calls this constructor to create a managed representation of an existing Java object.

Applies to