Partager via


ConfirmationCallback.OnConfirmed(Byte[]) Method

Definition

Called when the requested prompt was accepted by the user.

[Android.Runtime.Register("onConfirmed", "([B)V", "GetOnConfirmed_arrayBHandler", ApiSince=28)]
public virtual void OnConfirmed (byte[] dataThatWasConfirmed);
[<Android.Runtime.Register("onConfirmed", "([B)V", "GetOnConfirmed_arrayBHandler", ApiSince=28)>]
abstract member OnConfirmed : byte[] -> unit
override this.OnConfirmed : byte[] -> unit

Parameters

dataThatWasConfirmed
Byte[]

the data that was confirmed, see above for the format.

Attributes

Remarks

Called when the requested prompt was accepted by the user.

The format of 'dataThatWasConfirmed' parameter is a CBOR encoded map (type 5) with (at least) the keys <strong>prompt</strong> and <strong>extra</strong>. The keys are encoded as CBOR text string (type 3). The value of promptText is encoded as CBOR text string (type 3), and the value of extraData is encoded as CBOR byte string (type 2). Other keys may be added in the future.

Java documentation for android.security.ConfirmationCallback.onConfirmed(byte[]).

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