Class RatingActionRunnable

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String IDENTIFIER  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void performAction​(android.content.Context context, java.lang.String identifier, JSONObject args, UserActionSource source)
      Perform the requested action defined by the given parameters.
      • Methods inherited from class java.lang.Object

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

      • RatingActionRunnable

        public RatingActionRunnable()
    • Method Detail

      • performAction

        public void performAction​(@Nullable
                                  android.content.Context context,
                                  @NonNull
                                  java.lang.String identifier,
                                  @NonNull
                                  JSONObject args,
                                  @Nullable
                                  UserActionSource source)
        Description copied from interface: UserActionRunnable
        Perform the requested action defined by the given parameters.
        Note: This can be run from any thread. Do not make assumptions about the thread you're currently on.
        Specified by:
        performAction in interface UserActionRunnable
        Parameters:
        context - The current context, if applicable. Be careful, as this may be any context, and not just an activity one. It can also be null.
        identifier - The action identifier.
        args - Action arguments. Can be empty.
        source - The action source. Used to get more info about the what triggered the action (for example, the full payload of the push that triggered this action). In some cases, this can be null.