Class ExportResult


  • @Deprecated
    public final class ExportResult
    extends Object
    Deprecated.
    com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
    Information about the result of an export.
    • Field Detail

      • durationMs

        public final long durationMs
        Deprecated.
        The duration of the file in milliseconds, or C.TIME_UNSET if unset or unknown.
      • fileSizeBytes

        public final long fileSizeBytes
        Deprecated.
        The size of the file in bytes, or C.LENGTH_UNSET if unset or unknown.
      • averageAudioBitrate

        public final int averageAudioBitrate
        Deprecated.
        The average bitrate of the audio track data, or C.RATE_UNSET_INT if unset or unknown.
      • channelCount

        public final int channelCount
        Deprecated.
        The channel count of the audio, or C.LENGTH_UNSET if unset or unknown.
      • sampleRate

        public final int sampleRate
        Deprecated.
        The sample rate of the audio, or C.RATE_UNSET_INT if unset or unknown.
      • audioEncoderName

        @Nullable
        public final String audioEncoderName
        Deprecated.
        The name of the audio encoder used, or null if none were used.
      • averageVideoBitrate

        public final int averageVideoBitrate
        Deprecated.
        The average bitrate of the video track data, or C.RATE_UNSET_INT if unset or unknown.
      • colorInfo

        @Nullable
        public final ColorInfo colorInfo
        Deprecated.
        The ColorInfo of the video, or null if unset or unknown.
      • height

        public final int height
        Deprecated.
        The height of the video, or C.LENGTH_UNSET if unset or unknown.
      • width

        public final int width
        Deprecated.
        The width of the video, or C.LENGTH_UNSET if unset or unknown.
      • videoFrameCount

        public final int videoFrameCount
        Deprecated.
        The number of video frames.
      • videoEncoderName

        @Nullable
        public final String videoEncoderName
        Deprecated.
        The name of the video encoder used, or null if none were used.
      • exportException

        @Nullable
        public final ExportException exportException
        Deprecated.
        The ExportException that caused the export to fail, or null if the export was a success.