Package 

Class VideoResult

    • Method Detail

      • isSnapshot

         boolean isSnapshot()

        Returns whether this result comes from a snapshot.

      • getLocation

        @Nullable() Location getLocation()

        Returns geographic information for this video, if any.If it was set, it is also present in the file metadata.

      • getRotation

         int getRotation()

        Returns the clock-wise rotation that should be applied to thevideo frames before displaying. If it is non-zero, it is also presentin the video metadata, so most reader will take care of it.

      • getSize

        @NonNull() Size getSize()

        Returns the size of the frames after the rotation is applied.

      • getMaxSize

         long getMaxSize()

        Returns the max file size in bytes that was set before recording,or 0 if no constraint was set.

      • getMaxDuration

         int getMaxDuration()

        Returns the max video duration in milliseconds that was set before recording,or 0 if no constraint was set.

      • getVideoBitRate

         int getVideoBitRate()

        Returns the bit rate used for video encoding.

      • getVideoFrameRate

         int getVideoFrameRate()

        Returns the frame rate used for video encodingin frames per second.

      • getAudioBitRate

         int getAudioBitRate()

        Returns the bit rate used for audio encoding.