Code example for DrmManagerClient

Methods: checkRightsStatus

0
            mDrmManagerClient = new DrmManagerClient(context);
        } 
        if (null == path) {
            Log.e(TAG,"checkRightsStatus:got null file path");
        } 
        return mDrmManagerClient.checkRightsStatus(path, action);
    } 
 
    public static DrmManagerClient getDrmManagerClient(Context context) {
        if (null == mDrmManagerClient) {
            mDrmManagerClient = new DrmManagerClient(context);
        } 
        return mDrmManagerClient;
    } 
 
    private static Bitmap createBitmap(int width, int height, Bitmap.Config config,
                                       int bgColor) {
        if (width <= 0 || height <= 0 || null == config) {
            Log.e(TAG,"createBitmap:invalid Bitmap argumentation");
            return null; 
        }