Interface UnbluNav


  • public interface UnbluNav
    The `UnbluNav` interface provides a way to navigate through the SDK's main view that you can retrieve with UnbluClient.getMainView(). 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)
      Called to try to navigate back in the SDK main view.
    • Method Detail

      • goBack

        void goBack​(kotlin.jvm.functions.Function1<? super java.lang.Boolean,​kotlin.Unit> didGoBack)
        Called to try to navigate back in the SDK main view. If it succeeds the function returns `true`, otherwise it returns `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.