Loading api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -35283,6 +35283,7 @@ package android.webkit { method public abstract long getResources(); method public abstract void grant(long); field public static final long RESOURCE_AUDIO_CAPTURE = 4L; // 0x4L field public static final long RESOURCE_PROTECTED_MEDIA_ID = 8L; // 0x8L field public static final long RESOURCE_VIDEO_CAPTURE = 2L; // 0x2L } core/java/android/webkit/PermissionRequest.java +6 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,12 @@ public interface PermissionRequest { * Resource belongs to audio capture device, like microphone. */ public final static long RESOURCE_AUDIO_CAPTURE = 1 << 2; /** * Resource belongs to protected media identifier. * After the user grants this resource, the origin can use EME APIs to generate the license * requests. */ public final static long RESOURCE_PROTECTED_MEDIA_ID = 1 << 3; /** * @return the origin of web content which attempt to access the restricted Loading Loading
api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -35283,6 +35283,7 @@ package android.webkit { method public abstract long getResources(); method public abstract void grant(long); field public static final long RESOURCE_AUDIO_CAPTURE = 4L; // 0x4L field public static final long RESOURCE_PROTECTED_MEDIA_ID = 8L; // 0x8L field public static final long RESOURCE_VIDEO_CAPTURE = 2L; // 0x2L }
core/java/android/webkit/PermissionRequest.java +6 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,12 @@ public interface PermissionRequest { * Resource belongs to audio capture device, like microphone. */ public final static long RESOURCE_AUDIO_CAPTURE = 1 << 2; /** * Resource belongs to protected media identifier. * After the user grants this resource, the origin can use EME APIs to generate the license * requests. */ public final static long RESOURCE_PROTECTED_MEDIA_ID = 1 << 3; /** * @return the origin of web content which attempt to access the restricted Loading