Package com.unblu.sdk.core.ui
Interface UnbluNav
-
public interface UnbluNav
The `UnbluNav` interface provides a way to navigate through the SDK view. It contains a single function, `goBack`, that checks if the SDK can navigate and returns a boolean value depending on the outcome.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
goBack(kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit> didGoBack)
Checks if the SDK view can navigate.
-
-
-
Method Detail
-
goBack
void goBack(kotlin.jvm.functions.Function1<? super java.lang.Boolean,kotlin.Unit> didGoBack)
Checks if the SDK view can navigate. If it can, the function will return `true`, otherwise it will return `false`. The result is passed to the `didGoBack` callback function.- Parameters:
didGoBack
- A function that takes a boolean value as input and returns void. This function is called with the result of the navigation attempt.
-
-