Class ChallengeParts.Builder

  • Enclosing class:
    ChallengeParts

    public static final class ChallengeParts.Builder
    extends java.lang.Object
    • Method Detail

      • createQueryParams

        protected ChallengeParts createQueryParams()
        Instantiates the implementation class
        Returns:
        implementation class of BaseParams.BaseBuilder
      • setAnswer

        public ChallengeParts.Builder setAnswer​(java.lang.String answer)
        Set the answer text
        Parameters:
        answer - text containing the answer
        Returns:
        the built parameter class
      • setAttachment

        public ChallengeParts.Builder setAttachment​(com.cheetahdigital.uikit.helper.video.MediaFile file)
        Set the file attachment
        Parameters:
        file - file to be uploaded
        Returns:
        the built parameter class