Back to Exoplayer

TraceUtil (ExoPlayer library)

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

latest2.6 KB
Original Source

Package com.google.android.exoplayer2.util

Class TraceUtil


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

Calls through to Trace methods on supported API levels.

Method Summary

All Methods Static Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description | | --- | --- | --- | | static void | beginSection​(String sectionName) | Deprecated.

Writes a trace message to indicate that a given section of code has begun. | | static void | endSection() | Deprecated.

Writes a trace message to indicate that a given section of code has ended. |

- 

Methods inherited from class java.lang.Object

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

Method Detail

- 

beginSection

public static void beginSection​([String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")sectionName)

Deprecated.

Writes a trace message to indicate that a given section of code has begun. Parameters:sectionName - The name of the code section to appear in the trace. This may be at most 127 Unicode code units long.See Also:Trace.beginSection(String)

- 

endSection

public static void endSection()

Deprecated.

Writes a trace message to indicate that a given section of code has ended. See Also:Trace.endSection()