/
api : api :

api : - PowerPoint Presentation

debby-jeon
debby-jeon . @debby-jeon
Follow
363 views
Uploaded On 2016-07-16

api : - PPT Presentation

songs play music Disclaimer This document is provided asis Information and views expressed in this document including URL and other Internet Web site references may change without notice You bear the risk of using it This document does not provide you with any legal rights to any int ID: 407101

songs song play album

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "api :" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

api:songs

play music

Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including URL and other Internet Web site references, may change without notice. You bear the risk of using it. This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes. © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and Windows Live are trademarks of the Microsoft group of companies. All other trademarks are property of their respective owners. Slide2

songsWindows Phone built-in notion of “

songs”sync songs with Zunebuy new songs from MarketplaceSlide3

apis

Media→songs

Gets

the songs on the phone

Media→song

albums

Gets the song albums on the phonePlayer→active songGets the active song if anyPlaylist→songsGets the songs

Media

Server→songs

Gets a list of all songs

Media

Server→search

songs

Searches for songs

Web

→download

song

Create a streamed song file from internetSlide4

apis

Songs→

random

Gets the item at a

random

position; invalid if

empty

Songs→countGets the number of elements in the collectionSongs→atGets the item at position 'index'; invalid if out of bounds

Songs→

play

Plays

the song.

Songs→post

to

wall

Displays

the songs on the wallSlide5

apis

Song Album→name

Gets the name of the album

Song

Album→songs

Gets the songs

Song

Album→artistGets the name of the artistSong Album→has artIndicates if the album has artSong Album→artGets album art picture

Song

Album→thumbnail

Gets the thumbnail picture

Song

Album→duration

Gets the duration in seconds

Song

Album→genre

Gets the genre of the song

Song

Album→play

Plays the songs of the album

Song

Album→post

to wall

Displays the song album on the

wallSlide6

apis

Song→

name

Gets

the name of the song

Song→

artist

Gets the name of the artistSong→albumGets the song album containing the songSong→durationGets the duration in seconds

Song

track

Gets

the track number in the album

Song→

genre

Gets the genre of the song

Song→play

Plays the song

.

Song→play

count

Gets

the play count

Song

→post

to wall

Displays the song on the

wall

Song→

protected

Gets

a value whether the song is DRM protected

Song→

rating

Gets

the users rating. -1 if not rated

.

 Slide7

examplesforgotten songs

☁ http://

touchdevelop.com/fpkj

song controller

http://

touchdevelop.com/apgq

Slide8

exercises

►create your own song controller:use board to show current song (name, album art, …)

provide buttons and implement tap events to choose another song, pause, resumeSlide9

homework

►finish your song player at home

Related Contents


Next Show more