Package 

Class Videos

    • Method Summary

      Modifier and Type Method Description
      final static ImageRequest.Builder videoFrameMillis(ImageRequest.Builder $self, Long frameMillis) Set the time in milliseconds of the frame to extract from a video.
      final static ImageRequest.Builder videoFrameMicros(ImageRequest.Builder $self, Long frameMicros) Set the time in microseconds of the frame to extract from a video.
      final static Long videoFrameMicros(Parameters $self) Get the time in microseconds of the frame to extract from a video.
      final static ImageRequest.Builder videoFramePercent(ImageRequest.Builder $self, @FloatRange(from = 0.0.toDouble(), to = 1.0.toDouble()) Double framePercent) Set the time as a percentage of the total duration for the frame to extract from a video.
      final static Double videoFramePercent(Parameters $self) Get the time as a percentage of the total duration for the frame to extract from a video.
      final static ImageRequest.Builder videoFrameOption(ImageRequest.Builder $self, Integer option) Set the option for how to decode the video frame.
      final static Integer videoFrameOption(Parameters $self) Get the option for how to decode the video frame.
      • Methods inherited from class java.lang.Object

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

      • videoFrameMillis

         final static ImageRequest.Builder videoFrameMillis(ImageRequest.Builder $self, Long frameMillis)

        Set the time in milliseconds of the frame to extract from a video.

        When both videoFrameMicros (or videoFrameMillis) and videoFramePercent are set, videoFrameMicros (or videoFrameMillis) will take precedence.

        Default: 0

      • videoFrameMicros

         final static ImageRequest.Builder videoFrameMicros(ImageRequest.Builder $self, Long frameMicros)

        Set the time in microseconds of the frame to extract from a video.

        When both videoFrameMicros (or videoFrameMillis) and videoFramePercent are set, videoFrameMicros (or videoFrameMillis) will take precedence.

        Default: 0

      • videoFrameMicros

         final static Long videoFrameMicros(Parameters $self)

        Get the time in microseconds of the frame to extract from a video.

      • videoFramePercent

         final static ImageRequest.Builder videoFramePercent(ImageRequest.Builder $self, @FloatRange(from = 0.0.toDouble(), to = 1.0.toDouble()) Double framePercent)

        Set the time as a percentage of the total duration for the frame to extract from a video.

        When both videoFrameMicros (or videoFrameMillis) and videoFramePercent are set, videoFrameMicros (or videoFrameMillis) will take precedence.

        Default: 0.0

      • videoFramePercent

         final static Double videoFramePercent(Parameters $self)

        Get the time as a percentage of the total duration for the frame to extract from a video.

      • videoFrameOption

         final static Integer videoFrameOption(Parameters $self)

        Get the option for how to decode the video frame.