Loading api/current.txt +2 −1 Original line number Original line Diff line number Diff line Loading @@ -24499,7 +24499,8 @@ package android.media { public final class MediaTimestamp { public final class MediaTimestamp { method public long getAnchorMediaTimeUs(); method public long getAnchorMediaTimeUs(); method public long getAnchorSytemNanoTime(); method public long getAnchorSystemNanoTime(); method public deprecated long getAnchorSytemNanoTime(); method public float getMediaClockRate(); method public float getMediaClockRate(); field public static final android.media.MediaTimestamp TIMESTAMP_UNKNOWN; field public static final android.media.MediaTimestamp TIMESTAMP_UNKNOWN; } } media/java/android/media/MediaTimestamp.java +10 −0 Original line number Original line Diff line number Diff line Loading @@ -51,8 +51,18 @@ public final class MediaTimestamp /** /** * Get the {@link java.lang.System#nanoTime system time} corresponding to the media time * Get the {@link java.lang.System#nanoTime system time} corresponding to the media time * in nanoseconds. * in nanoseconds. * @deprecated use {@link #getAnchorSystemNanoTime} instead. */ */ @Deprecated public long getAnchorSytemNanoTime() { public long getAnchorSytemNanoTime() { return getAnchorSystemNanoTime(); } /** * Get the {@link java.lang.System#nanoTime system time} corresponding to the media time * in nanoseconds. */ public long getAnchorSystemNanoTime() { return nanoTime; return nanoTime; } } Loading Loading
api/current.txt +2 −1 Original line number Original line Diff line number Diff line Loading @@ -24499,7 +24499,8 @@ package android.media { public final class MediaTimestamp { public final class MediaTimestamp { method public long getAnchorMediaTimeUs(); method public long getAnchorMediaTimeUs(); method public long getAnchorSytemNanoTime(); method public long getAnchorSystemNanoTime(); method public deprecated long getAnchorSytemNanoTime(); method public float getMediaClockRate(); method public float getMediaClockRate(); field public static final android.media.MediaTimestamp TIMESTAMP_UNKNOWN; field public static final android.media.MediaTimestamp TIMESTAMP_UNKNOWN; } }
media/java/android/media/MediaTimestamp.java +10 −0 Original line number Original line Diff line number Diff line Loading @@ -51,8 +51,18 @@ public final class MediaTimestamp /** /** * Get the {@link java.lang.System#nanoTime system time} corresponding to the media time * Get the {@link java.lang.System#nanoTime system time} corresponding to the media time * in nanoseconds. * in nanoseconds. * @deprecated use {@link #getAnchorSystemNanoTime} instead. */ */ @Deprecated public long getAnchorSytemNanoTime() { public long getAnchorSytemNanoTime() { return getAnchorSystemNanoTime(); } /** * Get the {@link java.lang.System#nanoTime system time} corresponding to the media time * in nanoseconds. */ public long getAnchorSystemNanoTime() { return nanoTime; return nanoTime; } } Loading