C# Class BoundServiceDemo.TimestampService

Inheritance: Android.App.Service, IGetTimestamp
Show file Open project: xamarin/monodroid-samples Class Usage Examples

Public Methods

Method Description
GetFormattedTimestamp ( ) : string

This method will return a formatted timestamp to the client.

OnBind ( Android.Content.Intent intent ) : IBinder
OnCreate ( ) : void
OnDestroy ( ) : void
OnUnbind ( Android.Content.Intent intent ) : bool

Method Details

GetFormattedTimestamp() public method

This method will return a formatted timestamp to the client.
public GetFormattedTimestamp ( ) : string
return string

OnBind() public method

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

OnCreate() public method

public OnCreate ( ) : void
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnUnbind() public method

public OnUnbind ( Android.Content.Intent intent ) : bool
intent Android.Content.Intent
return bool