OSDN Git Service

Public API for RemoteControlClient ratings and editable metadata
authorJean-Michel Trivi <jmtrivi@google.com>
Mon, 26 Aug 2013 22:28:29 +0000 (15:28 -0700)
committerJean-Michel Trivi <jmtrivi@google.com>
Thu, 29 Aug 2013 18:41:04 +0000 (11:41 -0700)
commitb23cd118ce3339589fffd40ecf1aa9c5816b3438
tree9df3c5c54c3994c675d53660c3229febbc885d19
parent22e3eb64bfb97a32c31be3cb4641b92ecb8400ac
Public API for RemoteControlClient ratings and editable metadata

A rating for RemoteControlClient content is:
  - a value between 0 and 100
  - or a value indicating there is no rating
 For a same piece of content, a rating can come from:
  - the user
  - "others" (i.e. not the user), to provide an average rating
 Rating styles are:
  - heart (a toggle)
  - thumb up / down
  - stars (with a configurable maximum number of stars)

For editable metadata, add:
  - methods to control which keys can be edited,
  - interface for an application to receive new values for a key.

Rating by user is editable metadata.

Bug 8440498

Change-Id: Ia9f61e750772658051cea1ac7c316187717f0f58
api/current.txt
media/java/android/media/RemoteControlClient.java