Service.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.
Called by the system when the service is first created.
[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
Called by the system when the service is first created. Do not call this method directly.
Java documentation for android.app.Service.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.