Shazamkit for android is missing information.

Hi, dear apple developers.

Is there any full example about shazamkit for android developers? I've found that There is no full example about how to use shazamkit to build an android app propertly in WHOLE Internet(eg: github etc.)....

the documentation below is missing a lot of information. https://developer.apple.com/shazamkit/android/

Especially how to associate MediaItem with signature. https://developer.apple.com/shazamkit/android/shazamkit/com.shazam.shazamkit/-media-item/index.html

in swift we can use customCatalog.addReferenceSignature(signature, representing: [mediaItem])

but I can't see anything about it in kotlin

So, is there more information about it?

Hi, Dieber I completely agree with you that shazam documentation is missing lots of information. Were you able to create shazam catalog? Do you know what is "developerTokenProvider" parameter here?

Hi, Dieber did you find anything on this?

Hi Dieber,

at this time we don't provide in Android all the functionalities exposed by the counterpart for iOS/mac. You can refer to the Android documentation and if you don't find a method there then is not available on Android. I can also confirm Custom Catalog addReferenceSignature(..) is not supported in Android. But you can create your custom catalogs remotely and then ship those to your android app, for example. Let us know if your use case can't be satisfied in this way;

Best, Francesco

Hi talking_tac

following up to your comment above : currently with ShazamKit Android 2.0.0 you can only load a Custom Catalog, but you can't create a new one or add signatures or media items to it.

About developerTokenProvider: you can create one instance like this (Kotlin)

import com.shazam.shazamkit.DeveloperToken
import com.shazam.shazamkit.DeveloperTokenProvider

fun developerTokenProvider(): DeveloperTokenProvider {
        return DeveloperTokenProvider {
            DeveloperToken("MY_DEVELOPER_TOKEN")
        }
    }

In order to generate your specific developer token you can follow this https://developer.apple.com/help/account/configure-app-capabilities/create-a-media-identifier-and-private-key

Shazamkit for android is missing information.
 
 
Q