Skip to content

Commit 84241f8

Browse files
fix: updating comments with VibrateTimingsMillis and defaultVibrateTimings instead of vibrate_timings and default_vibrate_timings (#2598)
Co-authored-by: Lahiru Maramba <[email protected]>
1 parent 2bce2cc commit 84241f8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/messaging/messaging-api.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -550,16 +550,16 @@ export interface AndroidNotification {
550550
* turn the vibrator on or off. The first value indicates the duration to wait before
551551
* turning the vibrator on. The next value indicates the duration to keep the
552552
* vibrator on. Subsequent values alternate between duration to turn the vibrator
553-
* off and to turn the vibrator on. If `vibrate_timings` is set and `default_vibrate_timings`
554-
* is set to `true`, the default value is used instead of the user-specified `vibrate_timings`.
553+
* off and to turn the vibrator on. If `vibrateTimingsMillis` is set and `defaultVibrateTimings`
554+
* is set to `true`, the default value is used instead of the user-specified `vibrateTimingsMillis`.
555555
*/
556556
vibrateTimingsMillis?: number[];
557557

558558
/**
559559
* If set to `true`, use the Android framework's default vibrate pattern for the
560560
* notification. Default values are specified in {@link https://android.googlesource.com/platform/frameworks/base/+/master/core/res/res/values/config.xml |
561-
* config.xml}. If `default_vibrate_timings` is set to `true` and `vibrate_timings` is also set,
562-
* the default value is used instead of the user-specified `vibrate_timings`.
561+
* config.xml}. If `defaultVibrateTimings` is set to `true` and `vibrateTimingsMillis` is also set,
562+
* the default value is used instead of the user-specified `vibrateTimingsMillis`.
563563
*/
564564
defaultVibrateTimings?: boolean;
565565

0 commit comments

Comments
 (0)