Back to Exoplayer

UnknownNull (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/util/UnknownNull.html

latest1.0 KB
Original Source

Package com.google.android.exoplayer2.util

Annotation Type UnknownNull


@Nonnull(when=UNKNOWN)
@TypeQualifierDefault([TYPE\_USE](https://developer.android.com/reference/java/lang/annotation/ElementType.html#TYPE_USE "class or interface in java.lang.annotation"))[@Retention](https://developer.android.com/reference/java/lang/annotation/Retention.html "class or interface in java.lang.annotation")([CLASS](https://developer.android.com/reference/java/lang/annotation/RetentionPolicy.html?is-external=true#CLASS "class or interface in java.lang.annotation"))
public @interfaceUnknownNull

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.

Annotation for specifying unknown nullness. Useful for clearing the effects of an automatically propagated Nonnull annotation.