C# Class System.Html.Geolocation.GeolocationService

显示文件 Open project: Saltarelle/SaltarelleWeb

Public Methods

Method Description
ClearWatch ( int watchId ) : void
GetCurrentPosition ( PositionCallback successCallback ) : void
GetCurrentPosition ( PositionCallback successCallback, PositionErrorCallback errorCallback ) : void
GetCurrentPosition ( PositionCallback successCallback, PositionErrorCallback errorCallback, PositionOptions options ) : void
WatchPosition ( PositionCallback successCallback ) : int
WatchPosition ( PositionCallback successCallback, PositionErrorCallback errorCallback ) : int
WatchPosition ( PositionCallback successCallback, PositionErrorCallback errorCallback, PositionOptions options ) : int

Private Methods

Method Description
GeolocationService ( ) : System.Runtime.CompilerServices

Method Details

ClearWatch() public method

public ClearWatch ( int watchId ) : void
watchId int
return void

GetCurrentPosition() public method

public GetCurrentPosition ( PositionCallback successCallback ) : void
successCallback PositionCallback
return void

GetCurrentPosition() public method

public GetCurrentPosition ( PositionCallback successCallback, PositionErrorCallback errorCallback ) : void
successCallback PositionCallback
errorCallback PositionErrorCallback
return void

GetCurrentPosition() public method

public GetCurrentPosition ( PositionCallback successCallback, PositionErrorCallback errorCallback, PositionOptions options ) : void
successCallback PositionCallback
errorCallback PositionErrorCallback
options PositionOptions
return void

WatchPosition() public method

public WatchPosition ( PositionCallback successCallback ) : int
successCallback PositionCallback
return int

WatchPosition() public method

public WatchPosition ( PositionCallback successCallback, PositionErrorCallback errorCallback ) : int
successCallback PositionCallback
errorCallback PositionErrorCallback
return int

WatchPosition() public method

public WatchPosition ( PositionCallback successCallback, PositionErrorCallback errorCallback, PositionOptions options ) : int
successCallback PositionCallback
errorCallback PositionErrorCallback
options PositionOptions
return int