Improve javadoc in Mp4LocationData and Mp4OrientationData class

PiperOrigin-RevId: 709061777
This commit is contained in:
sheenachhabra 2024-12-23 07:55:03 -08:00 committed by Copybara-Service
parent 515de89973
commit 16617f5a8b
2 changed files with 18 additions and 2 deletions

View file

@ -23,10 +23,19 @@ import androidx.media3.common.Metadata;
import androidx.media3.common.util.UnstableApi;
import com.google.common.primitives.Floats;
/** Stores MP4 location data. */
/**
* Stores MP4 location data.
*
* <p>The location data is typically read/written in the "udta" box (user data box, defined in
* ISO/IEC 14496-12).
*/
@UnstableApi
public final class Mp4LocationData implements Metadata.Entry {
/** The latitude, in degrees. */
public final float latitude;
/** The longitude, in degrees. */
public final float longitude;
/**

View file

@ -21,9 +21,16 @@ import androidx.annotation.Nullable;
import androidx.media3.common.Metadata;
import androidx.media3.common.util.UnstableApi;
/** Stores the orientation hint for the video playback. */
/**
* Stores the orientation hint for the video playback.
*
* <p>The orientation hint is typically read/written in the "tkhd" box (track header box, defined in
* ISO/IEC 14496-12).
*/
@UnstableApi
public final class Mp4OrientationData implements Metadata.Entry {
/** The orientation, in degrees. */
public final int orientation;
/**