Compartir a través de


NetworkInfo Constructores

Definición

Sobrecargas

NetworkInfo(IntPtr, JniHandleOwnership)

Constructor utilizado al crear representaciones administradas de objetos JNI; llamado por el tiempo de ejecución.

NetworkInfo(Int32, Int32, String, String)

NetworkInfo(IntPtr, JniHandleOwnership)

Constructor utilizado al crear representaciones administradas de objetos JNI; llamado por el tiempo de ejecución.

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

Parámetros

javaReference
IntPtr

nativeint

que IntPtrcontiene una referencia de objeto de Java Native Interface (JNI).

transfer
JniHandleOwnership

un JniHandleOwnershipvalor de tipo que indica cómo controlar javaReference

Comentarios

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el proyecto de código abierto de Android y se usan según los términos descritos en la licencia de atribución de Creative Commons 2.5.

Se aplica a

NetworkInfo(Int32, Int32, String, String)

[Android.Runtime.Register(".ctor", "(IILjava/lang/String;Ljava/lang/String;)V", "", ApiSince=30)]
public NetworkInfo (int type, int subtype, string? typeName, string? subtypeName);
[<Android.Runtime.Register(".ctor", "(IILjava/lang/String;Ljava/lang/String;)V", "", ApiSince=30)>]
new Android.Net.NetworkInfo : int * int * string * string -> Android.Net.NetworkInfo

Parámetros

type
Int32
subtype
Int32
typeName
String
subtypeName
String
Atributos

Se aplica a