add default for device orientation start

This commit is contained in:
InsanusMokrassar committed 2024-12-08 11:40:09 +06:00
1 parent a034fa18d7
commit 27241fad32
1 file changed
+1 -1
@@ -7,7 +7,7 @@ external interface DeviceOrientation {
val beta: Double
val gamma: Double
fun start(params: DeviceOrientationStartParams, callback: (Boolean) -> Unit)
fun start(params: DeviceOrientationStartParams, callback: (Boolean) -> Unit = definedExternally)
fun stop(callback: (Boolean) -> Unit)
}