queryCache abstract method
- @Deprecated('Deprecated since 3.9.0, please use the method with the same name with [config] parameter instead.')
- String songID,
- ZegoCopyrightedMusicType type, {
- ZegoCopyrightedMusicVendorID? vendorID,
Deprecated Query the resource's cache is existed or not. Deprecated since 3.9.0, please use the method with the same name with config
parameter instead.
Available since: 3.2.1 Description: Query the resource is existed or not, query the Yinsuda resource cache by default Use case: Can be used to check the resource's cache is existed or not When to call: After initializing the copyrighted music success initCopyrightedMusic.
@deprecated Deprecated since 3.9.0, please use the method with the same name with config
parameter instead.
songID
the ID of the song or accompaniment, the song and accompaniment of a song share the same ID.type
the song resource type.vendorID
Copyright music resource song copyright provider.
Implementation
@Deprecated(
'Deprecated since 3.9.0, please use the method with the same name with [config] parameter instead.')
Future<bool> queryCache(String songID, ZegoCopyrightedMusicType type,
{ZegoCopyrightedMusicVendorID? vendorID});