Hello,
I've implemented simple IntentHandler for INPlayMediaIntent.
For Siri phrases "Play Game of Thrones on "AppName"" or "Play Game of Thrones using "AppName"" in resolveMeidaItems method I'm getting empty INPlayMediaIntent without meidaSearch parameter with mediaName for searching.
{
playShuffled = 0;
mediaSearch = <null>;
mediaContainer = <null>;
playbackRepeatMode = none;
mediaItems = <null>;
resumePlayback = 0;
playbackQueueLocation = now;
playbackSpeed = <null>;
}
But it works fine with "Play Game of Thrones from "AppName"" phrase.
The same behavior for many queries, but there are exceptions.
F.e "Play Queen on "AppName"" or "Play Leave No Trace on "AppName"" works fine.
Why does it work like this and what is the right way to use INPlayMediaIntent for search and start playing movies.
I am hope for your help.
Thanks!
I've implemented simple IntentHandler for INPlayMediaIntent.
For Siri phrases "Play Game of Thrones on "AppName"" or "Play Game of Thrones using "AppName"" in resolveMeidaItems method I'm getting empty INPlayMediaIntent without meidaSearch parameter with mediaName for searching.
{
playShuffled = 0;
mediaSearch = <null>;
mediaContainer = <null>;
playbackRepeatMode = none;
mediaItems = <null>;
resumePlayback = 0;
playbackQueueLocation = now;
playbackSpeed = <null>;
}
But it works fine with "Play Game of Thrones from "AppName"" phrase.
The same behavior for many queries, but there are exceptions.
F.e "Play Queen on "AppName"" or "Play Leave No Trace on "AppName"" works fine.
Why does it work like this and what is the right way to use INPlayMediaIntent for search and start playing movies.
I am hope for your help.
Thanks!