示例#1
0
        //This navigates to the relevant next step if this item is selected in VideoGallery.mcml
        //It generally just goes to VideoDetails unless it is a season.
        public void ViewDetails()
        {
            // Request additional metadata and process
            string  detailData    = AmazonVideoRequest.getVideoDetails(m_ASIN);
            JObject detailResults = JObject.Parse(detailData);

            processDetailData((JObject)detailResults["message"]["body"]["titles"][0]);

            switch (m_contentType)
            {
            case "MOVIE":
                Application.Current.GoToVideoDetails(this);
                break;

            case "SEASON":
                Application.Current.GoToSeasonDetails(this);
                break;

            case "SERIES":
                Application.Current.GoToVideoDetails(this);
                break;

            case "EPISODE":
                Application.Current.GoToVideoDetails(this);
                break;
            }
        }