C# 클래스 PodcastWP.PodcastHelper

파일 보기 프로젝트 열기: robwirving/PodcastWP

공개 메소드들

메소드 설명
CommandPodcastApp ( PodcastCommand command, PlayMode playMode = PlayMode.None, UiMode uiMode = UiMode.Standard, string callbackUri = "", string callbackName = "" ) : void

Launches a podcast app w/ a specified command

HasPodcastUri ( Uri uri ) : bool

Determines whether the specified URI uses the podcast URI scheme

RetrievePodcastAction ( Uri uri ) : PodcastAction

Retrieves the podcast action.

SubscribeToPodcast ( Uri feedUrl, string callbackUri = "", string callbackName = "" ) : void

Launches a podcast app w/ a request to subscribe to a specified podcast

메소드 상세

CommandPodcastApp() 공개 정적인 메소드

Launches a podcast app w/ a specified command
public static CommandPodcastApp ( PodcastCommand command, PlayMode playMode = PlayMode.None, UiMode uiMode = UiMode.Standard, string callbackUri = "", string callbackName = "" ) : void
command PodcastCommand The command.
playMode PlayMode The mode of playback
uiMode UiMode The mode of the UI
callbackUri string The callback URI for your app if you want to be called back after the podcast app finishes its command.
callbackName string The name of your app which could be displayed in the target podcast app
리턴 void

HasPodcastUri() 공개 정적인 메소드

Determines whether the specified URI uses the podcast URI scheme
public static HasPodcastUri ( Uri uri ) : bool
uri System.Uri The URI.
리턴 bool

RetrievePodcastAction() 공개 정적인 메소드

Retrieves the podcast action.
public static RetrievePodcastAction ( Uri uri ) : PodcastAction
uri System.Uri The URI.
리턴 PodcastAction

SubscribeToPodcast() 공개 정적인 메소드

Launches a podcast app w/ a request to subscribe to a specified podcast
public static SubscribeToPodcast ( Uri feedUrl, string callbackUri = "", string callbackName = "" ) : void
feedUrl System.Uri Url for the podcast feed
callbackUri string The callback URI for your app if you want to be called back after the podcast app finishes its command.
callbackName string The name of your app which could be displayed in the target podcast app
리턴 void