Enum PredefinedStampType

    • Constructor Detail

    • Method Detail

      • fromName

        @Nullable() static PredefinedStampType fromName(@Nullable() String name)

        Returns corresponding predefined stamp type from a given name.

        Parameters:
        name - Name of the predefined stamp type.
        Returns:

        Corresponding predefined stamp type or null when no correspondence is found.

      • getName

        @Nullable() String getName()

        Returns name of the predefined stamp type.

        Returns:

        Name of the predefined stamp type.

      • isStandard

         boolean isStandard()

        Whether this is a standard stamp type. True for all except CUSTOM.

      • values

         static Array<PredefinedStampType> values()

        Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

        Returns:

        an array containing the constants of this enum type, in the order they're declared

      • valueOf

         static PredefinedStampType valueOf(String name)

        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

        Returns:

        the enum constant with the specified name

      • getStampType

        @Nullable() StampType getStampType()

        Returns the stamp type this predefined stamp type is using.

        Returns:

        The stamp type this predefined stamp type is using.

      • getTitleResId

        @StringRes() int getTitleResId()

        String resource id for localized stamp subject.

        Returns:

        Localized stamp subject res id.