Package-level declarations

Functions

Link copied to clipboard
fun useVibrate(short: Long = 100, long: Long = 400): Pair<() -> Unit, () -> Unit>
Link copied to clipboard
fun Context.vibrateLong(milliseconds: Long = 400)

触发长震动

Link copied to clipboard
fun Context.vibrateShort(milliseconds: Long = 100)

触发短震动