SettingInjectorService.OnStart(Intent, Int32) 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.
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.