diff options
| author | 2025-01-06 14:06:23 -0800 | |
|---|---|---|
| committer | 2025-01-06 14:06:23 -0800 | |
| commit | 2f54c684eb3899190f827827461c1ae22d1e43b6 (patch) | |
| tree | 89d2882df5f837e6722b6a2ab644606cf2c11df6 | |
| parent | 0c37ae0e13359e47bfe660df285724a4847b4663 (diff) | |
| parent | a72893eb6566aab8a8ae21d190b5e49d480e44c3 (diff) | |
Merge "MediaCodec: describe bundle keys for onMetricsFlushed callback" into main
| -rw-r--r-- | media/java/android/media/MediaCodec.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/media/java/android/media/MediaCodec.java b/media/java/android/media/MediaCodec.java index 36f62da651db..84f59b5d01ae 100644 --- a/media/java/android/media/MediaCodec.java +++ b/media/java/android/media/MediaCodec.java @@ -5878,7 +5878,12 @@ final public class MediaCodec { * capture the final metrics for the previous subsession. * * @param codec The MediaCodec object. - * @param metrics The flushed metrics for this codec. + * @param metrics The flushed metrics for this codec. This is a + * {@link PersistableBundle} containing the set of + * attributes and values available for the media being + * handled by this instance of MediaCodec. The attributes + * are described in {@link MetricsConstants}. Additional + * vendor-specific fields may also be present. */ @FlaggedApi(FLAG_SUBSESSION_METRICS) public void onMetricsFlushed( |