- void SetLoopCount( int32_t count );
-
- /**
- * @brief Set the playing range in frame number.
- * @param[in] startFrame The frame number to specify minimum progress.
- * @param[in] endFrame The frame number to specify maximum progress.
- * The animation will play between those values.
- */
- void SetPlayRange( uint32_t startFrame, uint32_t endFrame );
-
- /**
- * @brief Get the play state
- * @return The play state
- */
- DevelImageVisual::PlayState::Type GetPlayState() const;
-
- /**
- * @brief Queries whether the resource is ready.
- * @return true if ready, false otherwise
- */
- bool IsResourceReady() const;
-
- /**
- * @brief Sets the current frame number of the animation.
- * @param[in] frameNumber The new frame number between [0, the maximum frame number] or between the play range if specified.
- */
- void SetCurrentFrameNumber( uint32_t frameNumber );
-
- /**
- * @brief Retrieves the current frame number of the animation.
- * @return The current frame number
- */
- uint32_t GetCurrentFrameNumber() const;
-
- /**
- * @brief Retrieves the total frame number of the animation.
- * @return The total frame number
- */
- uint32_t GetTotalFrameNumber() const;
-
- /**
- * @brief Gets the default size of the file,.
- * @return The default size of the file
- */
- void GetDefaultSize( uint32_t& width, uint32_t& height ) const;
-
- /**
- * @brief Sets the stop behavior of the animation. This is performed when the animation is stopped.
- * @param[in] stopBehavior The stop behavior
- */
- void SetStopBehavior( DevelImageVisual::StopBehavior::Type stopBehavior );
-
- /**
- * @brief Sets the looping mode.
- * Animation plays forwards and then restarts from the beginning or runs backwards again.
- * @param[in] loopingMode The looping mode
- */
- void SetLoopingMode( DevelImageVisual::LoopingMode::Type loopingMode );
-
- /**
- * @brief Connect to this signal to be notified when the texture upload is completed.
- * @return The signal to connect to.
- */
- UploadCompletedSignalType& UploadCompletedSignal();