BackupAgent.OnCreate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.