Sdílet prostřednictvím


PasswordCallback.SetPassword(Char[]) Method

Definition

Set the retrieved password.

[Android.Runtime.Register("setPassword", "([C)V", "GetSetPassword_arrayCHandler")]
public virtual void SetPassword (char[]? password);
[<Android.Runtime.Register("setPassword", "([C)V", "GetSetPassword_arrayCHandler")>]
abstract member SetPassword : char[] -> unit
override this.SetPassword : char[] -> unit

Parameters

password
Char[]

the retrieved password, which may be null.

Attributes

Remarks

Set the retrieved password.

This method makes a copy of the input password before storing it.

Java documentation for javax.security.auth.callback.PasswordCallback.setPassword(char[]).

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