C# Class BoundServiceDemo.TimestampService

Inheritance: Android.App.Service, IGetTimestamp
Afficher le fichier Open project: xamarin/monodroid-samples Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

OnBind() public méthode

public OnBind ( Android.Content.Intent intent ) : IBinder
intent Android.Content.Intent
Résultat IBinder

OnCreate() public méthode

public OnCreate ( ) : void
Résultat void

OnDestroy() public méthode

public OnDestroy ( ) : void
Résultat void

OnUnbind() public méthode

public OnUnbind ( Android.Content.Intent intent ) : bool
intent Android.Content.Intent
Résultat bool