vibrate

actual fun vibrate(time: TimeSpan, amplitude: Double)

Parameters

time

vibration duration in milliseconds

amplitude

percentage intensity of the vibration. A 0.2 results in 20% vibration power.

expect fun vibrate(time: TimeSpan, amplitude: Double = 1.0)

Parameters

time

vibration duration in milliseconds

amplitude

percentage intensity of the vibration. A 0.2 results in 20% vibration power. Only supported on Android target.

actual fun vibrate(time: TimeSpan, amplitude: Double)

Parameters

time

vibration duration in milliseconds

amplitude

percentage intensity of the vibration. A 0.2 results in 20% vibration power.

actual fun vibrate(time: TimeSpan, amplitude: Double)

Parameters

time

vibration duration in milliseconds

amplitude

has no effect on JS backend

actual fun vibrate(time: TimeSpan, amplitude: Double)

Parameters

time

vibration duration in milliseconds

amplitude

percentage intensity of the vibration. A 0.2 results in 20% vibration power.