ZegoCopyrightedMusicBillingMode Constants Reference
Declared in | ZegoExpressDefines.h |
---|
ZegoCopyrightedMusicBillingMode
VOD billing mode.
Definition
typedef NS_ENUM(NSUInteger, ZegoCopyrightedMusicBillingMode ) {
ZegoCopyrightedMusicBillingModeCount = 0,
ZegoCopyrightedMusicBillingModeUser = 1,
ZegoCopyrightedMusicBillingModeRoom = 2,
ZegoCopyrightedMusicBillingModeMaster = 3,
};
Constants
ZegoCopyrightedMusicBillingModeCount
-
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 [requestSong], [requestAccompaniment], etc.).
Declared In
ZegoExpressDefines.h
. ZegoCopyrightedMusicBillingModeUser
-
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 [requestSong], [requestAccompaniment], etc.) and the parameters are the user ID of the monthly subscription, and the charging is based on the monthly dimension.
Declared In
ZegoExpressDefines.h
. ZegoCopyrightedMusicBillingModeRoom
-
Monthly billing by room.The room users are billed on a monthly basis, that is, statistical calls to obtain song resources (such as [requestSong], [requestAccompaniment], etc.) are passed as Roomid for a monthly subscription of the room, and fees are charged on a monthly basis.
Declared In
ZegoExpressDefines.h
. ZegoCopyrightedMusicBillingModeMaster
-
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 [requestSong], [requestAccompaniment], 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.
Declared In
ZegoExpressDefines.h
.
Declared In
ZegoExpressDefines.h