MediaProduct

constructor(productType: ProductType, productId: String, sourceType: String? = null, sourceId: String? = null, referenceId: String? = null)

Parameters

productType

The type of the media product as ProductType.

productId

The id of a media product as String.

sourceType

The type of source as String. May be null or empty.

sourceId

The id of source as String. May be null or empty.

referenceId

A unique id as String. Typically used to differentiate on an otherwise identical media product. May be null or empty.