C# Class MyDriving.Droid.Services.GeolocationService

Inheritance: Android.App.Service
显示文件 Open project: Azure-Samples/MyDriving Class Usage Examples

Public Methods

Method Description
OnBind ( Android.Content.Intent intent ) : IBinder
OnStartCommand ( Android.Content.Intent intent, StartCommandFlags flags, int startId ) : StartCommandResult
StartLocationUpdates ( ) : void
StopLocationUpdates ( ) : void

Method Details

OnBind() public method

public OnBind ( Android.Content.Intent intent ) : IBinder
intent Android.Content.Intent
return IBinder

OnStartCommand() public method

public OnStartCommand ( Android.Content.Intent intent, StartCommandFlags flags, int startId ) : StartCommandResult
intent Android.Content.Intent
flags StartCommandFlags
startId int
return StartCommandResult

StartLocationUpdates() public method

public StartLocationUpdates ( ) : void
return void

StopLocationUpdates() public method

public StopLocationUpdates ( ) : void
return void