DRMINFO class

This document provides an overview of the Android digital rights management (DRM) framework and introduces the interfaces that a DRM plugin must implement. This document doesn't describe robustness rules or compliance rules that may be defined by a DRM scheme.

DRMINFO is information about the DRM.

Constructors

DRMINFO.new({required String vendor, required String version, required String description, required String algorithms, required String systemId, required String securityLevel, required String hdcpLevel, required String maxHdcpLevel, required String usageRepostingSupport, required String maxNoOfSessions, required String noOfOpenSessions})
constructor for the DRMINFO class.
DRMINFO.fromJson(String source)
fromJson returns the DRMINFO from JSON.
factory
DRMINFO.fromMap(Map<String, dynamic> map)
fromMap returns the DRMINFO from map.
factory

Properties

algorithms String
algorithms is the algorithms of the DRM.
getter/setter pair
description String
description is the description of the DRM.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
hdcpLevel String
hdcpLevel is the hdcp level of the DRM.
getter/setter pair
maxHdcpLevel String
maxHdcpLevel is the max hdcp level of the DRM.
getter/setter pair
maxNoOfSessions String
maxNoOfSessions is the max no of sessions of the DRM.
getter/setter pair
noOfOpenSessions String
noOfOpenSessions is the no of open sessions of the DRM.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
securityLevel String
securityLevel is the security level of the DRM.
getter/setter pair
systemId String
systemId is the system id of the DRM.
getter/setter pair
usageRepostingSupport String
usageRepostingSupport is the usage reposting support of the DRM.
getter/setter pair
vendor String
vendor is the vendor of the DRM.
getter/setter pair
version String
version is the version of the DRM.
getter/setter pair

Methods

copyWith({String? vendor, String? version, String? description, String? algorithms, String? systemId, String? securityLevel, String? hdcpLevel, String? maxHdcpLevel, String? usageRepostingSupport, String? maxNoOfSessions, String? noOfOpenSessions}) DRMINFO
copyWith is the function to copy the class.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toJson returns the DRMINFO from JSON.
toMap() Map<String, dynamic>
toMap returns the map of DRMINFO.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override