Condividi tramite


LocalSocketAddress Constructors

Definition

Overloads

LocalSocketAddress(String)

Creates an instance with a given name in the Namespace#ABSTRACT namespace

LocalSocketAddress(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

LocalSocketAddress(String, LocalSocketAddress+Namespace)

Creates an instance with a given name in the Namespace#ABSTRACT namespace

LocalSocketAddress(String)

Creates an instance with a given name in the Namespace#ABSTRACT namespace

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public LocalSocketAddress (string? name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.Net.LocalSocketAddress : string -> Android.Net.LocalSocketAddress

Parameters

name
String

non-null name

Attributes

Remarks

Creates an instance with a given name in the Namespace#ABSTRACT namespace

Java documentation for android.net.LocalSocketAddress.LocalSocketAddress(java.lang.String).

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

LocalSocketAddress(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

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

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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

LocalSocketAddress(String, LocalSocketAddress+Namespace)

Creates an instance with a given name in the Namespace#ABSTRACT namespace

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/net/LocalSocketAddress$Namespace;)V", "")]
public LocalSocketAddress (string? name, Android.Net.LocalSocketAddress.Namespace? namespace);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/net/LocalSocketAddress$Namespace;)V", "")>]
new Android.Net.LocalSocketAddress : string * Android.Net.LocalSocketAddress.Namespace -> Android.Net.LocalSocketAddress

Parameters

name
String

non-null name

Attributes

Remarks

Java documentation for android.net.LocalSocketAddress.LocalSocketAddress(java.lang.String).

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