Skip to content

Commit

Permalink
add default for device orientation start
Browse files Browse the repository at this point in the history
  • Loading branch information
InsanusMokrassar committed Dec 8, 2024
1 parent a034fa1 commit 27241fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 27241fa

Please sign in to comment.