integration into my music app

My app is built around music albums. How would I support the utterance "open this in Apple Music" when a user is looking at an album in my app? Is a .userActivity with an associated appEntityIdentifier enough? If my AppEntity had the Apple Music ID in one of it's properties would the system figure it out?

Or would I need a transfer representation too? This introduction of IntentValueRepresentation was confusing for me. It seems from the talk that maybe this is required to make this work, but doesn't seem like there is any relevant _IntentValue for my use case.

Answered by Frameworks Engineer in 891825022

Siri will not use the identifier of a different app in your properties. Siri may be able to search for the album with just the schema entity properties of your album entity, such as title, and artistName. The .userActivity entity annotation is meant to be used with entities defined by your app.

There is no system-defined type that would be suitable for a transfer representation to an album entity in your app.

Siri will not use the identifier of a different app in your properties. Siri may be able to search for the album with just the schema entity properties of your album entity, such as title, and artistName. The .userActivity entity annotation is meant to be used with entities defined by your app.

There is no system-defined type that would be suitable for a transfer representation to an album entity in your app.

integration into my music app
 
 
Q