Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ZegoCopyrightedMusicRequestConfigV2

The configuration of requesting resource.

Hierarchy

  • ZegoCopyrightedMusicRequestConfigV2

Index

Constructors

constructor

  • new ZegoCopyrightedMusicRequestConfigV2(songID: string, mode: number, vendorID: number, roomID: string, masterID: string, sceneID: number, resourceType: number): ZegoCopyrightedMusicRequestConfigV2
  • Parameters

    • songID: string
    • mode: number
    • vendorID: number
    • roomID: string
    • masterID: string
    • sceneID: number
    • resourceType: number

    Returns ZegoCopyrightedMusicRequestConfigV2

Properties

masterID

masterID: string

The master ID, which must be passed when the billing mode is billed by host. Indicate which homeowner to order song/accompaniment/accompaniment clip/accompaniment segment.

mode

mode: number

VOD billing mode. Refer to the value of [ZegoCopyrightedMusicBillingMode].

resourceType

resourceType: number

The resource type of music. Refer to the value of [ZegoCopyrightedMusicResourceType].

roomID

roomID: string

The room ID, the single-room mode can not be passed, and the corresponding room ID must be passed in the multi-room mode. Indicate in which room to order song/accompaniment/accompaniment clip/accompaniment segment.

sceneID

sceneID: number

The scene ID, indicate the actual business. For details, please consult ZEGO technical support.

songID

songID: string

the ID of the song.

vendorID

vendorID: number

Copyright music resource song copyright provider. Refer to the value of [ZegoCopyrightedMusicVendorID].

Generated using TypeDoc