VideoFrameProcessingException
@UnstableApi
class VideoFrameProcessingException : Exception
| kotlin.Any | |||
| ↳ | kotlin.Throwable | ||
| ↳ | java.lang.Exception | ||
| ↳ | androidx.media3.common.VideoFrameProcessingException |
Thrown when an exception occurs while preparing an Effect, or applying an Effect to video frames.
Summary
Public constructors |
|---|
VideoFrameProcessingException(cause: Throwable!)Creates an instance. |
VideoFrameProcessingException(message: String!)Creates an instance. |
VideoFrameProcessingException(cause: Throwable!, presentationTimeUs: Long)Creates an instance. |
VideoFrameProcessingException(message: String!, cause: Throwable!)Creates an instance. |
VideoFrameProcessingException(message: String!, presentationTimeUs: Long)Creates an instance. |
VideoFrameProcessingException(Creates an instance. |
Public functions |
|
|---|---|
java-static VideoFrameProcessingException! |
Wraps the given exception in a |
java-static VideoFrameProcessingException! |
Wraps the given exception in a |
Public properties |
|
|---|---|
Long |
The microsecond timestamp of the frame being processed while the exception occurred or |
Inherited functions |
||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Public constructors
VideoFrameProcessingException
VideoFrameProcessingException(cause: Throwable!)
Creates an instance.
| Parameters | |
|---|---|
cause: Throwable! |
The cause of this exception. |
VideoFrameProcessingException
VideoFrameProcessingException(message: String!)
Creates an instance.
| Parameters | |
|---|---|
message: String! |
The detail message for this exception. |
VideoFrameProcessingException
VideoFrameProcessingException(cause: Throwable!, presentationTimeUs: Long)
Creates an instance.
VideoFrameProcessingException
VideoFrameProcessingException(message: String!, cause: Throwable!)
Creates an instance.
VideoFrameProcessingException
VideoFrameProcessingException(message: String!, presentationTimeUs: Long)
Creates an instance.
VideoFrameProcessingException
VideoFrameProcessingException(
message: String!,
cause: Throwable!,
presentationTimeUs: Long
)
Creates an instance.
Public functions
from
java-static fun from(exception: Exception!): VideoFrameProcessingException!
Wraps the given exception in a VideoFrameProcessingException if it is not already a VideoFrameProcessingException and returns the exception otherwise.
from
java-static fun from(exception: Exception!, presentationTimeUs: Long): VideoFrameProcessingException!
Wraps the given exception in a VideoFrameProcessingException with the given timestamp if it is not already a VideoFrameProcessingException and returns the exception otherwise.
Public properties
presentationTimeUs
val presentationTimeUs: Long
The microsecond timestamp of the frame being processed while the exception occurred or TIME_UNSET if unknown.