/// <summary>
 /// Determines the device's current location and gives back a Position object with the data.
 /// </summary>
 /// <param name="success">A callback function that takes a Position object as its sole input parameter.</param>
 /// <param name="error">An optional callback function that takes a PositionError object as its sole input parameter.</param>
 /// <param name="options">An optional PositionOptions object.</param>
 public virtual void GetCurrentPosition(Action <GeolocationPosition> success, Action <GeolocationPositionError> error, GeolocationPositionOptions options)
 {
 }
 /// <summary>
 /// The Geolocation.watchPosition() method is used to register a handler function that will be called automatically each time the position of the device changes. You can also, optionally, specify an error handling callback function.
 /// </summary>
 /// <param name="success">A callback function that takes a Position object as an input parameter.</param>
 /// <param name="error">An optional callback function that takes a PositionError object as an input parameter.</param>
 /// <param name="options">An optional PositionOptions object.</param>
 /// <returns>This method returns a watch ID value than can be used to unregister the handler by passing it to the Geolocation.clearWatch() method.</returns>
 public virtual object WatchPosition(Action <GeolocationPosition> success, Action <GeolocationPositionError> error, GeolocationPositionOptions options)
 {
     return(null);
 }
 /// <summary>
 /// Determines the device's current location and gives back a Position object with the data.
 /// </summary>
 /// <param name="success">A callback function that takes a Position object as its sole input parameter.</param>
 /// <param name="error">An optional callback function that takes a PositionError object as its sole input parameter.</param>
 /// <param name="options">An optional PositionOptions object.</param>
 public virtual void GetCurrentPosition(Delegate success, Delegate error, GeolocationPositionOptions options)
 {
 }
示例#4
0
 /// <summary>
 /// Determines the device's current location and gives back a Position object with the data.
 /// </summary>
 /// <param name="success">A callback function that takes a Position object as its sole input parameter.</param>
 /// <param name="error">An optional callback function that takes a PositionError object as its sole input parameter.</param>
 /// <param name="options">An optional PositionOptions object.</param>
 public virtual void GetCurrentPosition(Action<GeolocationPosition> success, Action<GeolocationPositionError> error, GeolocationPositionOptions options)
 {
 }
 /// <summary>
 /// The Geolocation.watchPosition() method is used to register a handler function that will be called automatically each time the position of the device changes. You can also, optionally, specify an error handling callback function.
 /// </summary>
 /// <param name="success">A callback function that takes a Position object as an input parameter.</param>
 /// <param name="error">An optional callback function that takes a PositionError object as an input parameter.</param>
 /// <param name="options">An optional PositionOptions object.</param>
 /// <returns>This method returns a watch ID value than can be used to unregister the handler by passing it to the Geolocation.clearWatch() method.</returns>
 public virtual object WatchPosition(Delegate success, Delegate error, GeolocationPositionOptions options)
 {
     return(null);
 }
示例#6
0
 /// <summary>
 /// The Geolocation.watchPosition() method is used to register a handler function that will be called automatically each time the position of the device changes. You can also, optionally, specify an error handling callback function.
 /// </summary>
 /// <param name="success">A callback function that takes a Position object as an input parameter.</param>
 /// <param name="error">An optional callback function that takes a PositionError object as an input parameter.</param>
 /// <param name="options">An optional PositionOptions object.</param>
 /// <returns>This method returns a watch ID value than can be used to unregister the handler by passing it to the Geolocation.clearWatch() method.</returns>
 public virtual object WatchPosition(Action<GeolocationPosition> success, Action<GeolocationPositionError> error, GeolocationPositionOptions options)
 {
     return null;
 }
示例#7
0
 /// <summary>
 /// Determines the device's current location and gives back a Position object with the data.
 /// </summary>
 /// <param name="success">A callback function that takes a Position object as its sole input parameter.</param>
 /// <param name="error">An optional callback function that takes a PositionError object as its sole input parameter.</param>
 /// <param name="options">An optional PositionOptions object.</param>
 public virtual void GetCurrentPosition(Delegate success, Delegate error, GeolocationPositionOptions options)
 {
 }
示例#8
0
 /// <summary>
 /// The Geolocation.watchPosition() method is used to register a handler function that will be called automatically each time the position of the device changes. You can also, optionally, specify an error handling callback function.
 /// </summary>
 /// <param name="success">A callback function that takes a Position object as an input parameter.</param>
 /// <param name="error">An optional callback function that takes a PositionError object as an input parameter.</param>
 /// <param name="options">An optional PositionOptions object.</param>
 /// <returns>This method returns a watch ID value than can be used to unregister the handler by passing it to the Geolocation.clearWatch() method.</returns>
 public virtual object WatchPosition(Delegate success, Delegate error, GeolocationPositionOptions options)
 {
     return null;
 }
示例#9
0
 /// <summary>
 /// The Geolocation.watchPosition() method is used to register a handler function that will be called automatically each time the position of the device changes. You can also, optionally, specify an error handling callback function.
 /// </summary>
 /// <param name="success">A callback function that takes a Position object as an input parameter.</param>
 /// <param name="error">An optional callback function that takes a PositionError object as an input parameter.</param>
 /// <param name="options">An optional PositionOptions object.</param>
 /// <returns>This method returns a watch ID value than can be used to unregister the handler by passing it to the Geolocation.clearWatch() method.</returns>
 public virtual extern object WatchPosition(Action <GeolocationPosition> success, Action <GeolocationPositionError> error, GeolocationPositionOptions options);
示例#10
0
 /// <summary>
 /// The Geolocation.watchPosition() method is used to register a handler function that will be called automatically each time the position of the device changes. You can also, optionally, specify an error handling callback function.
 /// </summary>
 /// <param name="success">A callback function that takes a Position object as an input parameter.</param>
 /// <param name="error">An optional callback function that takes a PositionError object as an input parameter.</param>
 /// <param name="options">An optional PositionOptions object.</param>
 /// <returns>This method returns a watch ID value than can be used to unregister the handler by passing it to the Geolocation.clearWatch() method.</returns>
 public virtual extern object WatchPosition(Delegate success, Delegate error, GeolocationPositionOptions options);
示例#11
0
 /// <summary>
 /// The Geolocation.watchPosition() method is used to register a handler function that will be called automatically each time the position of the device changes. You can also, optionally, specify an error handling callback function.
 /// </summary>
 /// <param name="success">A callback function that takes a Position object as an input parameter.</param>
 /// <param name="error">An optional callback function that takes a PositionError object as an input parameter.</param>
 /// <param name="options">An optional PositionOptions object.</param>
 /// <returns>This method returns a watch ID value than can be used to unregister the handler by passing it to the Geolocation.clearWatch() method.</returns>
 public virtual extern object WatchPosition(Action<GeolocationPosition> success, Action<GeolocationPositionError> error, GeolocationPositionOptions options);
示例#12
0
 /// <summary>
 /// The Geolocation.watchPosition() method is used to register a handler function that will be called automatically each time the position of the device changes. You can also, optionally, specify an error handling callback function.
 /// </summary>
 /// <param name="success">A callback function that takes a Position object as an input parameter.</param>
 /// <param name="error">An optional callback function that takes a PositionError object as an input parameter.</param>
 /// <param name="options">An optional PositionOptions object.</param>
 /// <returns>This method returns a watch ID value than can be used to unregister the handler by passing it to the Geolocation.clearWatch() method.</returns>
 public virtual extern object WatchPosition(Delegate success, Delegate error, GeolocationPositionOptions options);