Sdílet prostřednictvím


PasswordCallback Constructors

Definition

Overloads

PasswordCallback(IntPtr, JniHandleOwnership)

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

PasswordCallback(String, Boolean)

Construct a PasswordCallback with a prompt and a boolean specifying whether the password should be displayed as it is being typed.

PasswordCallback(IntPtr, JniHandleOwnership)

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

protected PasswordCallback (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Javax.Security.Auth.Callback.PasswordCallback : nativeint * Android.Runtime.JniHandleOwnership -> Javax.Security.Auth.Callback.PasswordCallback

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

PasswordCallback(String, Boolean)

Construct a PasswordCallback with a prompt and a boolean specifying whether the password should be displayed as it is being typed.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Z)V", "")]
public PasswordCallback (string? prompt, bool echoOn);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Z)V", "")>]
new Javax.Security.Auth.Callback.PasswordCallback : string * bool -> Javax.Security.Auth.Callback.PasswordCallback

Parameters

prompt
String

the prompt used to request the password. <p>

echoOn
Boolean

true if the password should be displayed as it is being typed.

Attributes

Remarks

Construct a PasswordCallback with a prompt and a boolean specifying whether the password should be displayed as it is being typed.

Java documentation for javax.security.auth.callback.PasswordCallback.PasswordCallback(java.lang.String, boolean).

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