Questions tagged siri

Explore the latest questions and answers asked by our top developers.

IntentHandler called with empty parameter

I’m new to iOS development, and I’m trying to add support for Siri Shortcuts to my app with the purpose of allowing Siri to suggest a common user actions in the various "Siri Suggestions" widgets throughout iOS 14. Using Apple’s documentation and various other sources I managed to reach the point where I’m creating the […]

By Marco
Published
Categorised as ios, siri, swift Tagged , ,

How to handle Siri kit with INPlayMediaIntent to play podcast episode?

I have followed all steps mentioned here for Siri: https://docs.microsoft.com/en-us/xamarin/ios/platform/sirikit/implementing-sirikit?tabs=macos Also followed: https://developer.apple.com/documentation/sirikit/media/managing_audio_with_sirikit IntentHandler.cs: [Register("IntentHandler")] public class IntentHandler : INExtension, IINPlayMediaIntentHandling, IINAddMediaIntentHandling { protected IntentHandler(IntPtr handle) : base(handle) { } public override NSObject GetHandler(INIntent intent) { return this; } //INPlayMediaIntent public void resolveMediaItems(INPlayMediaIntent intent, Action<INPlayMediaMediaItemResolutionResult> completion) { var mediaItemData = new INMediaItem(identifier: SessionService.LastPlayedEpisode.PodcastId, title: SessionService.LastPlayedEpisode.Title, […]

By Divyesh 08
Published
Categorised as Uncategorised Tagged , , , ,

How to handle Siri kit with INPlayMediaIntent to play Podcast episode in Xamarin.iOS app?

I have followed all steps mentioned here for Siri: https://docs.microsoft.com/en-us/xamarin/ios/platform/sirikit/implementing-sirikit?tabs=macos Also followed: https://developer.apple.com/documentation/sirikit/media/managing_audio_with_sirikit IntentHandler.cs: [Register("IntentHandler")] public class IntentHandler : INExtension, IINPlayMediaIntentHandling, IINAddMediaIntentHandling { protected IntentHandler(IntPtr handle) : base(handle) { } public override NSObject GetHandler(INIntent intent) { return this; } //INPlayMediaIntent public void resolveMediaItems(INPlayMediaIntent intent, Action<INPlayMediaMediaItemResolutionResult> completion) { var mediaItemData = new INMediaItem(identifier: SessionService.LastPlayedEpisode.PodcastId, title: SessionService.LastPlayedEpisode.Title, […]

By Divyesh 08
Published
Categorised as Uncategorised Tagged , , , ,

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq