Back to Exoplayer

OverlaySettings (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/effect/OverlaySettings.html

latest2.4 KB
Original Source

Package com.google.android.exoplayer2.effect

Class OverlaySettings


[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classOverlaySettingsextends[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.

Contains information to control how an TextureOverlay is displayed on the screen.

Nested Class Summary

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

A builder for OverlaySettings instances. |

Field Summary

Fields | Modifier and Type | Field | Description | | --- | --- | --- | | float | alpha | Deprecated. | | Pair<Float,​Float> | anchor | Deprecated. | | float[] | matrix | Deprecated. | | boolean | useHdr | Deprecated. |

Method Summary

- 

Methods inherited from class java.lang.Object

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

Field Detail

- 

useHdr

public final boolean useHdr

Deprecated.

- 

alpha

public final float alpha

Deprecated.

- 

matrix

public final float[] matrix

Deprecated.

- 

anchor

public final[Pair](https://developer.android.com/reference/android/util/Pair.html "class or interface in android.util")<[Float](https://developer.android.com/reference/java/lang/Float.html?is-external=true "class or interface in java.lang"),​[Float](https://developer.android.com/reference/java/lang/Float.html?is-external=true "class or interface in java.lang")> anchor

Deprecated.