Class ResumePoint.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • setFullyPlayed

        public ResumePoint.Builder setFullyPlayed​(Boolean fullyPlayed)
        Set whether the episode has been fully played by the user.
        Parameters:
        fullyPlayed - true if episode has been fully played by the user.
        Returns:
        A ResumePoint.Builder.
      • setResumePositionMs

        public ResumePoint.Builder setResumePositionMs​(Integer resumePositionMs)
        Set the user’s most recent position in the episode in milliseconds.
        Parameters:
        resumePositionMs - The user’s most recent position in the episode in milliseconds.
        Returns:
        A ResumePoint.Builder.
      • build

        public ResumePoint build()
        Description copied from interface: IModelObject.Builder
        Build a model object with the information set in the builder object.
        The type of the model object and its methods depend on its corresponding implementation.
        Returns:
        A model object.