Class BaseStartScreenRecordingOptions<T extends BaseStartScreenRecordingOptions<T>>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> build()
      Builds a map, which is ready to be passed to the subordinated Appium API.
      T disableForcedRestart()
      Whether to return silently if there is an active video recording.
      T enableForcedRestart()
      Whether to ignore the result of previous capture and start a new recording immediately.
      T withTimeLimit​(java.time.Duration timeLimit)
      The maximum recording time.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BaseStartScreenRecordingOptions

        public BaseStartScreenRecordingOptions()
    • Method Detail

      • withTimeLimit

        public T withTimeLimit​(java.time.Duration timeLimit)
        The maximum recording time.
        Parameters:
        timeLimit - The actual time limit of the recorded video.
        Returns:
        self instance for chaining.
      • enableForcedRestart

        public T enableForcedRestart()
        Whether to ignore the result of previous capture and start a new recording immediately.
        Returns:
        self instance for chaining.
      • disableForcedRestart

        public T disableForcedRestart()
        Whether to return silently if there is an active video recording.
        Returns:
        self instance for chaining.