Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating comments for VibrateTimingsMillis and defaultVibrateTiming #2598

Merged
merged 3 commits into from
Sep 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/messaging/messaging-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -550,16 +550,16 @@ export interface AndroidNotification {
* turn the vibrator on or off. The first value indicates the duration to wait before
* turning the vibrator on. The next value indicates the duration to keep the
* vibrator on. Subsequent values alternate between duration to turn the vibrator
* off and to turn the vibrator on. If `vibrate_timings` is set and `default_vibrate_timings`
* is set to `true`, the default value is used instead of the user-specified `vibrate_timings`.
* off and to turn the vibrator on. If `vibrateTimingsMillis` is set and `defaultVibrateTimings`
* is set to `true`, the default value is used instead of the user-specified `vibrateTimingsMillis`.
*/
vibrateTimingsMillis?: number[];

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

Expand Down