Interface IntentContext<T>

  • Type Parameters:
    T - The type of the data

    public interface IntentContext<T>
    Represents a context to be used to raise an Intent.
    Since:
    1.4.1
    • Method Detail

      • getType

        Optional<String> getType()
        Returns an Optional eventually containing context type descriptor.
        Returns:
        An Optional eventually containing context type descriptor, never null
      • getData

        T getData()
      • toString

        String toString()
        Returns the String representation for this context.
        Overrides:
        toString in class Object
        Returns:
        The String representation for this context, never null