PasswordCallback Constructors
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.
Overloads
PasswordCallback(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
PasswordCallback(String, Boolean) |
Construct a |
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
- 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.
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.