Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c2d51d76 authored by Robert Shih's avatar Robert Shih Committed by Android (Google) Code Review
Browse files

Merge "android.hardware.drm@1.4: add setPlaybackId"

parents 83f7c8ee ff911f46
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -15,6 +15,8 @@
 */
package android.hardware.drm@1.4;

import @1.0::Status;
import @1.0::SessionId;
import @1.1::SecurityLevel;
import @1.2::IDrmPlugin;

@@ -47,4 +49,16 @@ interface IDrmPlugin extends @1.2::IDrmPlugin {
     */
    requiresSecureDecoderDefault(string mime) generates (bool secureRequired);

    /**
     * Set playback id of a drm session. The playback id can be used to join drm session metrics
     * with metrics from other low level media components, e.g. codecs, or metrics from the high
     * level player.
     *
     * @param sessionId drm session id
     * @param playbackId high level playback id
     * @return status the status of the call. The status must be OK on success, or
     *     ERROR_DRM_SESSION_NOT_OPENED if the drm session cannot be found
     */
    setPlaybackId(SessionId sessionId, string playbackId) generates (@1.0::Status status);

};