Loading api/current.txt +5 −5 Original line number Diff line number Diff line Loading @@ -7616,11 +7616,11 @@ package android.drm { } public class DrmStore { ctor public DrmStore(); ctor public deprecated DrmStore(); } public static class DrmStore.Action { ctor public DrmStore.Action(); ctor public deprecated DrmStore.Action(); field public static final int DEFAULT = 0; // 0x0 field public static final int DISPLAY = 7; // 0x7 field public static final int EXECUTE = 6; // 0x6 Loading @@ -7641,7 +7641,7 @@ package android.drm { } public static class DrmStore.DrmObjectType { ctor public DrmStore.DrmObjectType(); ctor public deprecated DrmStore.DrmObjectType(); field public static final int CONTENT = 1; // 0x1 field public static final int RIGHTS_OBJECT = 2; // 0x2 field public static final int TRIGGER_OBJECT = 3; // 0x3 Loading @@ -7649,7 +7649,7 @@ package android.drm { } public static class DrmStore.Playback { ctor public DrmStore.Playback(); ctor public deprecated DrmStore.Playback(); field public static final int PAUSE = 2; // 0x2 field public static final int RESUME = 3; // 0x3 field public static final int START = 0; // 0x0 Loading @@ -7657,7 +7657,7 @@ package android.drm { } public static class DrmStore.RightsStatus { ctor public DrmStore.RightsStatus(); ctor public deprecated DrmStore.RightsStatus(); field public static final int RIGHTS_EXPIRED = 2; // 0x2 field public static final int RIGHTS_INVALID = 1; // 0x1 field public static final int RIGHTS_NOT_ACQUIRED = 3; // 0x3 drm/java/android/drm/DrmStore.java +30 −0 Original line number Diff line number Diff line Loading @@ -108,6 +108,12 @@ public class DrmStore { * A trigger information object type. */ public static final int TRIGGER_OBJECT = 0x03; /** * @deprecated This class should have been an interface instead. * The default constuctor should have not been exposed. */ public DrmObjectType() {} } /** Loading Loading @@ -143,6 +149,12 @@ public class DrmStore { } return isValid; } /** * @deprecated This class should have been an interface instead. * The default constuctor should have not been exposed. */ public Playback() {} } /** Loading Loading @@ -198,6 +210,12 @@ public class DrmStore { } return isValid; } /** * @deprecated This class should have been an interface instead. * The default constuctor should have not been exposed. */ public Action() {} } /** Loading @@ -220,6 +238,18 @@ public class DrmStore { * The digital rights have not been acquired for the rights-protected content. */ public static final int RIGHTS_NOT_ACQUIRED = 0x03; /** * @deprecated This class should have been an interface instead. * The default constuctor should have not been exposed. */ public RightsStatus() {} } /** * @deprecated This class should have been an interface instead. * The default constuctor should have not been exposed. */ public DrmStore() {} } Loading
api/current.txt +5 −5 Original line number Diff line number Diff line Loading @@ -7616,11 +7616,11 @@ package android.drm { } public class DrmStore { ctor public DrmStore(); ctor public deprecated DrmStore(); } public static class DrmStore.Action { ctor public DrmStore.Action(); ctor public deprecated DrmStore.Action(); field public static final int DEFAULT = 0; // 0x0 field public static final int DISPLAY = 7; // 0x7 field public static final int EXECUTE = 6; // 0x6 Loading @@ -7641,7 +7641,7 @@ package android.drm { } public static class DrmStore.DrmObjectType { ctor public DrmStore.DrmObjectType(); ctor public deprecated DrmStore.DrmObjectType(); field public static final int CONTENT = 1; // 0x1 field public static final int RIGHTS_OBJECT = 2; // 0x2 field public static final int TRIGGER_OBJECT = 3; // 0x3 Loading @@ -7649,7 +7649,7 @@ package android.drm { } public static class DrmStore.Playback { ctor public DrmStore.Playback(); ctor public deprecated DrmStore.Playback(); field public static final int PAUSE = 2; // 0x2 field public static final int RESUME = 3; // 0x3 field public static final int START = 0; // 0x0 Loading @@ -7657,7 +7657,7 @@ package android.drm { } public static class DrmStore.RightsStatus { ctor public DrmStore.RightsStatus(); ctor public deprecated DrmStore.RightsStatus(); field public static final int RIGHTS_EXPIRED = 2; // 0x2 field public static final int RIGHTS_INVALID = 1; // 0x1 field public static final int RIGHTS_NOT_ACQUIRED = 3; // 0x3
drm/java/android/drm/DrmStore.java +30 −0 Original line number Diff line number Diff line Loading @@ -108,6 +108,12 @@ public class DrmStore { * A trigger information object type. */ public static final int TRIGGER_OBJECT = 0x03; /** * @deprecated This class should have been an interface instead. * The default constuctor should have not been exposed. */ public DrmObjectType() {} } /** Loading Loading @@ -143,6 +149,12 @@ public class DrmStore { } return isValid; } /** * @deprecated This class should have been an interface instead. * The default constuctor should have not been exposed. */ public Playback() {} } /** Loading Loading @@ -198,6 +210,12 @@ public class DrmStore { } return isValid; } /** * @deprecated This class should have been an interface instead. * The default constuctor should have not been exposed. */ public Action() {} } /** Loading @@ -220,6 +238,18 @@ public class DrmStore { * The digital rights have not been acquired for the rights-protected content. */ public static final int RIGHTS_NOT_ACQUIRED = 0x03; /** * @deprecated This class should have been an interface instead. * The default constuctor should have not been exposed. */ public RightsStatus() {} } /** * @deprecated This class should have been an interface instead. * The default constuctor should have not been exposed. */ public DrmStore() {} }