ZegoCopyrightedMusicBillingMode enum

点歌计费模式。

Inheritance
  • Object
  • Enum
  • ZegoCopyrightedMusicBillingMode

Constructors

ZegoCopyrightedMusicBillingMode()
const

Values

Count → const ZegoCopyrightedMusicBillingMode

按次计费。用户每获取一次歌曲资源都需要计一次费用,即根据实际调用获取歌曲资源接口(如 requestSongrequestAccompaniment 等)传参为按次的用户进行收费。

User → const ZegoCopyrightedMusicBillingMode

按用户包月计费。按月维度向单个用户计费,即统计调用获取歌曲资源(如 requestSongrequestAccompaniment 等)传参为按用户包月的用户 ID,按月维度进行收费。

Room → const ZegoCopyrightedMusicBillingMode

按房间包月计费。按月维度向房间用户计费,即统计调用获取歌曲资源(如 requestSongrequestAccompaniment 等)传参为按房间包月的 Roomid,按月维度进行收费。

Master → const ZegoCopyrightedMusicBillingMode

按房主包月计费。用户每获取一次资源,都计为房主获取资源,即根据实际调用获取歌曲资源接口(如 requestSongrequestAccompaniment 等)传参为房间的 Roomid、房主的 Masterid,按房主进行收费。

Properties

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

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]