Loading media/java/android/media/MediaRecorder.java +13 −0 Original line number Diff line number Diff line Loading @@ -148,6 +148,19 @@ public class MediaRecorder implements AudioRouting, ActivityThread.currentOpPackageName()); } /** * Sets the log session ID for MediaRecorder. * * <p>The log session ID is a random 32-byte hexadecimal string that is used for monitoring the * MediaRecorder performance.</p> * * @param id the global ID for monitoring the MediaRecorder performance * @hide */ public void setLogSessionId(@NonNull String id) { setParameter("log-session-id=" + id); } /** * Sets a {@link android.hardware.Camera} to use for recording. * Loading Loading
media/java/android/media/MediaRecorder.java +13 −0 Original line number Diff line number Diff line Loading @@ -148,6 +148,19 @@ public class MediaRecorder implements AudioRouting, ActivityThread.currentOpPackageName()); } /** * Sets the log session ID for MediaRecorder. * * <p>The log session ID is a random 32-byte hexadecimal string that is used for monitoring the * MediaRecorder performance.</p> * * @param id the global ID for monitoring the MediaRecorder performance * @hide */ public void setLogSessionId(@NonNull String id) { setParameter("log-session-id=" + id); } /** * Sets a {@link android.hardware.Camera} to use for recording. * Loading