Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
parker-mar committed Nov 5, 2015
1 parent f39f1d7 commit 8060f29
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions BB10-Cordova/NowPlaying/README.md
Expand Up @@ -248,51 +248,51 @@ Example:

#### MUST-HAVES ###

1. Volume Overlay
1. Volume Overlay

(In `/plugin/src/blackberry10/native/src/NowPlaying_ndk.cpp`)
(In `/plugin/src/blackberry10/native/src/NowPlaying_ndk.cpp`)

- Get music, icon, and metadata to show here
- Get buttons here to fire signals
- Investigate setting appropriate size for media notification area even though Tim mentioned
> I don't think there's any control to change the size of the media notification area - it's set by the OS and the hardware.
- Get music, icon, and metadata to show here
- Get buttons here to fire signals
- Investigate setting appropriate size for media notification area even though Tim mentioned
> I don't think there's any control to change the size of the media notification area - it's set by the OS and the hardware.

2. App preemption
2. App preemption

(In `/plugin/src/blackberry10/native/src/NowPlaying_ndk.cpp`)
(In `/plugin/src/blackberry10/native/src/NowPlaying_ndk.cpp`)

- Get app preemption to fire signals
- Get app preemption to fire signals

3. Ensure callbacks are not duplicated when pressing "Stop" and "requestPlayback" multiple times in the sample app, i.e. idempotentcy.
3. Ensure callbacks are not duplicated when pressing "Stop" and "requestPlayback" multiple times in the sample app, i.e. idempotentcy.

4. Validate parameters to NowPlayingRequestPlayback and NowPlayingPlay.
4. Validate parameters to NowPlayingRequestPlayback and NowPlayingPlay.

(In /plugin/www/client.js`)
(In /plugin/www/client.js`)

5. Metadata
5. Metadata

(In `/plugin/src/blackberry10/native/src/NowPlaying_ndk.cpp`)
(In `/plugin/src/blackberry10/native/src/NowPlaying_ndk.cpp`)

- Investigate putting more than just the Title, Artist, Album properties, even though [this](http://developer.blackberry.com/native/reference/cascades/bb__multimedia__nowplayingconnection.html#comment-1134791487) says
> Comment 2 years ago from Oct 30, 2015. Wes Barichak: "Currently, the only metadata properties that are available are MetaData::Album, MetaData::Artist, and MetaData::Title, while the rest of the MetaData properties are ignored. This will likely change in the future though."
- Investigate putting more than just the Title, Artist, Album properties, even though [this](http://developer.blackberry.com/native/reference/cascades/bb__multimedia__nowplayingconnection.html#comment-1134791487) says
> Comment 2 years ago from Oct 30, 2015. Wes Barichak: "Currently, the only metadata properties that are available are MetaData::Album, MetaData::Artist, and MetaData::Title, while the rest of the MetaData properties are ignored. This will likely change in the future though."

6. Give NowPlayingNDK::NowPlayingError signal/slot parameters to specify error information. Can create an enum of general errors that can occur. Use this throughout the class.
6. Give NowPlayingNDK::NowPlayingError signal/slot parameters to specify error information. Can create an enum of general errors that can occur. Use this throughout the class.

(In `/plugin/src/blackberry10/native/src/NowPlaying_ndk.cpp`)
(In `/plugin/src/blackberry10/native/src/NowPlaying_ndk.cpp`)


#### NICE-TO-HAVES ####

1. Give the sample app more interesting callbacks, e.g. the sample app [here](https://github.com/blackberry/Cascades-Samples/tree/master/nowplaying) uses images.
1. Give the sample app more interesting callbacks, e.g. the sample app [here](https://github.com/blackberry/Cascades-Samples/tree/master/nowplaying) uses images.

2. Test more songURL and iconURL local paths
2. Test more songURL and iconURL local paths

3. Icon
3. Icon

(In `/plugin/src/blackberry10/native/src/NowPlaying_ndk.cpp`)
(In `/plugin/src/blackberry10/native/src/NowPlaying_ndk.cpp`)

- Investigate setting icons based on URLs even though [this](http://developer.blackberry.com/native/reference/cascades/bb__multimedia__nowplayingconnection.html#function-play) says
> Comment 2 years ago from Oct 30, 2015. Theodore Mavrakis: "How can we pass an http url to use for the icon of a NowPlayingConnection?" Wes Barichak: "Currently, this is not possible. But, we will be looking at adding this functionality in a future release."
- Investigate setting icons based on URLs even though [this](http://developer.blackberry.com/native/reference/cascades/bb__multimedia__nowplayingconnection.html#function-play) says
> Comment 2 years ago from Oct 30, 2015. Theodore Mavrakis: "How can we pass an http url to use for the icon of a NowPlayingConnection?" Wes Barichak: "Currently, this is not possible. But, we will be looking at adding this functionality in a future release."

## Disclaimer ##

Expand Down

0 comments on commit 8060f29

Please sign in to comment.