Język

DataMigrationToPccService.OnMigrationRequested(IConsumer) Method

Definition

Called when the framework triggers a migration request on behalf of a PCC component.

[Android.Runtime.Register("onMigrationRequested", "(Ljava/util/function/Consumer;)V", "GetOnMigrationRequested_Ljava_util_function_Consumer_Handler", ApiSince=37)]
public abstract void OnMigrationRequested(Java.Util.Functions.IConsumer callback);
[<Android.Runtime.Register("onMigrationRequested", "(Ljava/util/function/Consumer;)V", "GetOnMigrationRequested_Ljava_util_function_Consumer_Handler", ApiSince=37)>]
abstract member OnMigrationRequested : Java.Util.Functions.IConsumer -> unit

Parameters

callback
IConsumer

Use this to send a result back to the requesting PCC process and signal to the system whether migration has been accepted.

Attributes

Remarks

Called when the framework triggers a migration request on behalf of a PCC component.

Android reference for android.app.privatecompute.DataMigrationToPccService.onMigrationRequested.

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