C# Class BoundServiceDemo.TimestampServiceConnection

Inheritance: Java.Lang.Object, IServiceConnection, IGetTimestamp
Show file Open project: xamarin/monodroid-samples Class Usage Examples

Public Methods

Method Description
GetFormattedTimestamp ( ) : string
OnServiceConnected ( ComponentName name, IBinder service ) : void
OnServiceDisconnected ( ComponentName name ) : void
TimestampServiceConnection ( MainActivity activity ) : Android.App

Method Details

GetFormattedTimestamp() public method

public GetFormattedTimestamp ( ) : string
return string

OnServiceConnected() public method

public OnServiceConnected ( ComponentName name, IBinder service ) : void
name ComponentName
service IBinder
return void

OnServiceDisconnected() public method

public OnServiceDisconnected ( ComponentName name ) : void
name ComponentName
return void

TimestampServiceConnection() public method

public TimestampServiceConnection ( MainActivity activity ) : Android.App
activity MainActivity
return Android.App