Package 

Class UrisKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit openUriOrElse(Context $self, String uri, Function1<Exception, Unit> fallbackAction) Opens the given uri in a browser.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • openUriOrElse

         final static Unit openUriOrElse(Context $self, String uri, Function1<Exception, Unit> fallbackAction)

        Opens the given uri in a browser. If the uri is invalid or no browser is installed, fallbackAction is called.