Skip to content

Commit 8f0368a

Browse files
committed
Update DOC
1 parent dd609c9 commit 8f0368a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

documents/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ JPushModule.getLaunchAppNotification( notification => {
498498

499499
* #### setGeofenceInterval
500500

501-
设置地理围栏监控周期,最小3分钟,最大1天。默认为15分钟,当距离地理围栏边界小于1000米周期自动调整为3分钟。设置成功后一直使用设置周期,不会进行调整。
501+
v2.5.0 开始支持,设置地理围栏监控周期,最小3分钟,最大1天。默认为15分钟,当距离地理围栏边界小于1000米周期自动调整为3分钟。设置成功后一直使用设置周期,不会进行调整。
502502

503503

504504
```
@@ -512,7 +512,7 @@ JPushModule.getLaunchAppNotification( notification => {
512512
513513
* #### setMaxGeofenceNumber
514514

515-
设置最多允许保存的地理围栏数量,超过最大限制后,如果继续创建先删除最早创建的地理围栏。默认数量为10个,允许设置最小1个,最大100个。
515+
v2.5.0 开始支持,设置最多允许保存的地理围栏数量,超过最大限制后,如果继续创建先删除最早创建的地理围栏。默认数量为10个,允许设置最小1个,最大100个。
516516

517517
```
518518
/**

documents/api_en.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,13 +462,16 @@ JPushModule.getLaunchAppNotification( notification => {
462462

463463
* #### setGeofenceInterval
464464

465+
Supported version: v2.5.0
465466

466467
```
467468
JPushModule.setGeofenceInterval(interval);
468469
```
469470
470471
* #### setMaxGeofenceNumber
471472

473+
Supported version: v2.5.0
474+
472475
```
473476
JPushModule.setMaxGeofenceNumber(maxNumber);
474477
```

0 commit comments

Comments
 (0)