mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-04 00:13:06 +08:00
fix(ibeacon): correct Type {Region} in some params (#2453)
Changes wrongly typed @param {BeaconRegion} to @param {Region}
This commit is contained in:
parent
23b760bb01
commit
300db62731
@ -481,7 +481,7 @@ export class IBeacon extends IonicNativePlugin {
|
|||||||
* native layer acknowledged the dispatch of the monitoring request.
|
* native layer acknowledged the dispatch of the monitoring request.
|
||||||
*/
|
*/
|
||||||
@Cordova({ otherPromise: true })
|
@Cordova({ otherPromise: true })
|
||||||
startMonitoringForRegion(region: BeaconRegion): Promise<string> { return; }
|
startMonitoringForRegion(region: Region): Promise<string> { return; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Stop monitoring the specified region. It is valid to call
|
* Stop monitoring the specified region. It is valid to call
|
||||||
@ -498,7 +498,7 @@ export class IBeacon extends IonicNativePlugin {
|
|||||||
* native layer acknowledged the dispatch of the request to stop monitoring.
|
* native layer acknowledged the dispatch of the request to stop monitoring.
|
||||||
*/
|
*/
|
||||||
@Cordova({ otherPromise: true })
|
@Cordova({ otherPromise: true })
|
||||||
stopMonitoringForRegion(region: BeaconRegion): Promise<void> { return; }
|
stopMonitoringForRegion(region: Region): Promise<void> { return; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Request state the for specified region. When result is ready
|
* Request state the for specified region. When result is ready
|
||||||
@ -532,7 +532,7 @@ export class IBeacon extends IonicNativePlugin {
|
|||||||
* native layer acknowledged the dispatch of the monitoring request.
|
* native layer acknowledged the dispatch of the monitoring request.
|
||||||
*/
|
*/
|
||||||
@Cordova({ otherPromise: true })
|
@Cordova({ otherPromise: true })
|
||||||
startRangingBeaconsInRegion(region: BeaconRegion): Promise<void> { return; }
|
startRangingBeaconsInRegion(region: Region): Promise<void> { return; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Stop ranging the specified region. It is valid to call
|
* Stop ranging the specified region. It is valid to call
|
||||||
@ -549,7 +549,7 @@ export class IBeacon extends IonicNativePlugin {
|
|||||||
* native layer acknowledged the dispatch of the request to stop monitoring.
|
* native layer acknowledged the dispatch of the request to stop monitoring.
|
||||||
*/
|
*/
|
||||||
@Cordova({ otherPromise: true })
|
@Cordova({ otherPromise: true })
|
||||||
stopRangingBeaconsInRegion(region: BeaconRegion): Promise<void> { return; }
|
stopRangingBeaconsInRegion(region: Region): Promise<void> { return; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Queries the native layer to determine the current authorization in effect.
|
* Queries the native layer to determine the current authorization in effect.
|
||||||
|
Loading…
Reference in New Issue
Block a user