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

peek or pop? #24

Open
jygao opened this issue Jul 11, 2023 · 0 comments
Open

peek or pop? #24

jygao opened this issue Jul 11, 2023 · 0 comments

Comments

@jygao
Copy link

jygao commented Jul 11, 2023

iOS:
ios peek is weak,pop is strong

  • (void) vibratePeek {
    AudioServicesPlaySystemSoundWithCompletion(1519, NULL); // Actuate Peek feedback (weak boom)
    }
  • (void) vibratePop {
    AudioServicesPlaySystemSoundWithCompletion(1520, NULL); // Actuate Pop feedback (strong boom)
    }

but,in the readme.md:

Pop vibration
Pop vibration: weak boom (For iOS: only available with the haptic engine. iPhone 6s minimum or Android)

Vibration.VibratePop();

Peek Vibration
Peek vibration: strong boom (For iOS: only available on iOS with the haptic engine. iPhone 6s minimum or Android)

Vibration.VibratePeek();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant