Package 

Interface UrlAction

    • Method Summary

      Modifier and Type Method Description
      abstract boolean shouldOverrideUrlLoading(Uri uri) Determines if the uri can be handled by specific action.NOTE: In order to make all actions work properly - each action should handle unique URIs.
      abstract void performAction(Context context, UrlHandler urlHandler, Uri uri) Executes specific action on the given uri.
      abstract boolean shouldBeTriggeredByUserAction()
      • Methods inherited from class java.lang.Object

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

      • shouldOverrideUrlLoading

         abstract boolean shouldOverrideUrlLoading(Uri uri)

        Determines if the uri can be handled by specific action.NOTE: In order to make all actions work properly - each action should handle unique URIs.

        Parameters:
        uri - which should be handled.
      • performAction

         abstract void performAction(Context context, UrlHandler urlHandler, Uri uri)

        Executes specific action on the given uri.

        Parameters:
        context - activity context.
        urlHandler - holder of action.
        uri - which should be handled.