ZegoCopyrightedMusicBillingMode enum

VOD billing mode.

Inheritance
  • Object
  • Enum
  • ZegoCopyrightedMusicBillingMode

Constructors

ZegoCopyrightedMusicBillingMode()
const

Values

Count → const ZegoCopyrightedMusicBillingMode

Pay-per-use.Each time a user obtains a song resource, a charge is required, that is, the user will be charged for each time based on the actual call to obtain the song resource interface (such as requestResource etc.).

User → const ZegoCopyrightedMusicBillingMode

Monthly billing by user.Billing for a single user is based on the monthly dimension, that is, the statistics call to obtain song resources (such as requestResource, etc.) and the parameters are the user ID of the monthly subscription, and the charging is based on the monthly dimension.

Room → const ZegoCopyrightedMusicBillingMode

Monthly billing by room.The room users are billed on a monthly basis, that is, statistical calls to obtain song resources (such as requestResource, etc.) are passed as Roomid for a monthly subscription of the room, and fees are charged on a monthly basis.

Master → const ZegoCopyrightedMusicBillingMode

Monthly billing by master. Every time a user obtains a resource, it is counted as the owner’s acquisition of resources, that is, according to the actual call to obtain the song resource interface (such as requestResource, etc.), the parameters are passed as the Roomid of the room and the Masterid of the owner, and the fee is charged according to the owner.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<ZegoCopyrightedMusicBillingMode>
A constant List of the values in this enum, in order of their declaration.
[Count, User, Room, Master]