BackupAgent.OnDestroy Method

Definition

Provided as a convenience for agent implementations that need to do some sort of shutdown process after backup or restore is completed.

[Android.Runtime.Register("onDestroy", "()V", "GetOnDestroyHandler")]
public virtual void OnDestroy ();
[<Android.Runtime.Register("onDestroy", "()V", "GetOnDestroyHandler")>]
abstract member OnDestroy : unit -> unit
override this.OnDestroy : unit -> unit
Attributes

Remarks

Provided as a convenience for agent implementations that need to do some sort of shutdown process after backup or restore is completed.

Agents do not need to override this method.

Java documentation for android.app.backup.BackupAgent.onDestroy().

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