コード例 #1
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)
 {
 }
コード例 #2
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);
 }
コード例 #3
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)
 {
 }
コード例 #4
0
ファイル: Geolocation.cs プロジェクト: Cestbienmoi/Bridge
 /// <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)
 {
 }
コード例 #5
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);
 }
コード例 #6
0
ファイル: Geolocation.cs プロジェクト: Cestbienmoi/Bridge
 /// <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
ファイル: Geolocation.cs プロジェクト: Cestbienmoi/Bridge
 /// <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
ファイル: Geolocation.cs プロジェクト: Cestbienmoi/Bridge
 /// <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
ファイル: Geolocation.cs プロジェクト: softearth/Frameworks
 /// <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
ファイル: Geolocation.cs プロジェクト: softearth/Frameworks
 /// <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
ファイル: Geolocation.cs プロジェクト: TinkerWorX/Bridge
 /// <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
ファイル: Geolocation.cs プロジェクト: TinkerWorX/Bridge
 /// <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);