Language

SettingInjectorService.OnStart(Intent, Int32) Method

Definition

Caution

Implement onStartCommand(android.content.Intent, int, int) instead.

Forwards the start intent and identifier to the base service method.

[Android.Runtime.Register("onStart", "(Landroid/content/Intent;I)V", "")]
[System.Obsolete("Implement onStartCommand(android.content.Intent, int, int) instead.")]
public override sealed void OnStart(Android.Content.Intent? intent, int startId);
[<Android.Runtime.Register("onStart", "(Landroid/content/Intent;I)V", "")>]
[<System.Obsolete("Implement onStartCommand(android.content.Intent, int, int) instead.")>]
override this.OnStart : Android.Content.Intent * int -> unit

Parameters

intent
Intent

The start intent passed to the base service method.

startId
Int32

The start identifier passed to the base service method.

Attributes

Remarks

This method is deprecated. Implement onStartCommand(Intent,int,int) instead.

Android reference for android.location.SettingInjectorService.onStart.

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