mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00:00
Improve javadoc in Mp4LocationData and Mp4OrientationData class
PiperOrigin-RevId: 709061777
This commit is contained in:
parent
515de89973
commit
16617f5a8b
2 changed files with 18 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue