Class PhotoPresenter<T extends PhotoView>

    • Constructor Detail

      • PhotoPresenter

        public PhotoPresenter​(java.lang.String id,
                              java.lang.String responseId,
                              ChallengeParams params)
        Create the presenter with a given ChallengeParams
        Parameters:
        id - challenge id
        responseId - response id
        params - the ChallengeParams
    • Method Detail

      • submitChallenge

        public void submitChallenge​(java.lang.String caption,
                                    com.cheetahdigital.uikit.helper.video.MediaFile photo)
        Submit photo
        Parameters:
        caption - text caption
        photo - image file
      • submitChallenge

        public void submitChallenge​(ChallengeParts parts)
        Submit with challenge parts
        Parameters:
        parts - the ChallengeParts