Interface UriOpening

  • All Implemented Interfaces:

    
    public interface UriOpening
    
                        

    Represents a component capable of opening URIs.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Boolean openUri(String uri) Opens the given uri after consulting the URIHandler if one is set.
      abstract Unit setUriHandler(URIHandler handler) Sets the URIHandler to be used for fetching destination intents when opening URIs.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • openUri

         abstract Boolean openUri(String uri)

        Opens the given uri after consulting the URIHandler if one is set.

        Parameters:
        uri - the URI to open
        Returns:

        true if the URI was opened successfully, false otherwise.