Class Intents


  • public class Intents
    extends Object
    Helper methods to view shows or episodes within SeriesGuide.
    • Constructor Detail

      • Intents

        public Intents()
    • Method Detail

      • buildViewEpisodeIntent

        public static Intent buildViewEpisodeIntent​(int showTmdbId,
                                                    int seasonNumber,
                                                    int episodeNumber)
        Builds an implicit Intent to view an episode in SeriesGuide. Like any Intent it may throw ActivityNotFoundException, e.g. if SeriesGuide (or another app capable of handling this intent) is not available.

        If the show does not exist, the user will be asked if the show should be added.

      • buildViewShowIntent

        public static Intent buildViewShowIntent​(int showTmdbId)
        Builds an implicit Intent to view a show in SeriesGuide. Like any Intent it may throw ActivityNotFoundException, e.g. if SeriesGuide (or another app capable of handling this intent) is not available.

        If the show is not added to SeriesGuide, the user will be asked if it should be.