Back to Exoplayer

ExportResult (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/transformer/ExportResult.html

latest7.7 KB
Original Source

Package com.google.android.exoplayer2.transformer

Class ExportResult


[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classExportResultextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")

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.

Nested Class Summary

Nested Classes | Modifier and Type | Class | Description | | --- | --- | --- | | static class | ExportResult.Builder | Deprecated.

A builder for ExportResult instances. | | static class | ExportResult.ProcessedInput | Deprecated.

An input entirely or partially processed. |

Field Summary

Fields | Modifier and Type | Field | Description | | --- | --- | --- | | String | audioEncoderName | Deprecated.

The name of the audio encoder used, or null if none were used. | | int | averageAudioBitrate | Deprecated.

The average bitrate of the audio track data, or C.RATE_UNSET_INT if unset or unknown. | | int | averageVideoBitrate | Deprecated.

The average bitrate of the video track data, or C.RATE_UNSET_INT if unset or unknown. | | int | channelCount | Deprecated.

The channel count of the audio, or C.LENGTH_UNSET if unset or unknown. | | ColorInfo | colorInfo | Deprecated.

The ColorInfo of the video, or null if unset or unknown. | | long | durationMs | Deprecated.

The duration of the file in milliseconds, or C.TIME_UNSET if unset or unknown. | | ExportException | exportException | Deprecated.

The ExportException that caused the export to fail, or null if the export was a success. | | long | fileSizeBytes | Deprecated.

The size of the file in bytes, or C.LENGTH_UNSET if unset or unknown. | | int | height | Deprecated.

The height of the video, or C.LENGTH_UNSET if unset or unknown. | | ImmutableList<ExportResult.ProcessedInput> | processedInputs | Deprecated.

The list of processed inputs. | | int | sampleRate | Deprecated.

The sample rate of the audio, or C.RATE_UNSET_INT if unset or unknown. | | String | videoEncoderName | Deprecated.

The name of the video encoder used, or null if none were used. | | int | videoFrameCount | Deprecated.

The number of video frames. | | int | width | Deprecated.

The width of the video, or C.LENGTH_UNSET if unset or unknown. |

Method Summary

All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description | | --- | --- | --- | | ExportResult.Builder | buildUpon() | Deprecated. | | boolean | equals​(Object o) | Deprecated. | | int | hashCode() | Deprecated. |

- 

Methods inherited from class java.lang.Object

clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

Field Detail

- 

processedInputs

public final[ImmutableList](https://guava.dev/releases/31.1-android/api/docs/com/google/common/collect/ImmutableList.html?is-external=true "class or interface in com.google.common.collect")<[ExportResult.ProcessedInput](ExportResult.ProcessedInput.html "class in com.google.android.exoplayer2.transformer")> processedInputs

Deprecated.

The list of processed inputs.

- 

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](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")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](../video/ColorInfo.html "class in com.google.android.exoplayer2.video")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](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")videoEncoderName

Deprecated.

The name of the video encoder used, or null if none were used.

- 

exportException

@Nullable
public final[ExportException](ExportException.html "class in com.google.android.exoplayer2.transformer")exportException

Deprecated.

The ExportException that caused the export to fail, or null if the export was a success.

Method Detail

- 

buildUpon

public[ExportResult.Builder](ExportResult.Builder.html "class in com.google.android.exoplayer2.transformer")buildUpon()

Deprecated.

- 

equals

public boolean equals​(@Nullable[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")o)

Deprecated. Overrides:equals in class Object

- 

hashCode

public int hashCode()

Deprecated. Overrides:hashCode in class Object