Interface UriOpening
-
- All Implemented Interfaces:
public interface UriOpeningRepresents a component capable of opening URIs.
-
-
Method Summary
Modifier and Type Method Description abstract BooleanopenUri(String uri)Opens the given uri after consulting the URIHandler if one is set. abstract UnitsetUriHandler(URIHandler handler)Sets the URIHandler to be used for fetching destination intents when opening URIs. -
-
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.
-
setUriHandler
abstract Unit setUriHandler(URIHandler handler)
Sets the URIHandler to be used for fetching destination intents when opening URIs.
-
-
-
-