次の方法で共有


BackupAgent.OnCreate Method

Definition

Provided as a convenience for agent implementations that need an opportunity to do one-time initialization before the actual backup or restore operation is begun.

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

Remarks

Provided as a convenience for agent implementations that need an opportunity to do one-time initialization before the actual backup or restore operation is begun.

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

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