android.provider
public
static
final
class
android.provider.MediaStore.Audio
Container for all audio content.
Nested Classes
Summary
Public Constructors
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
MediaStore.Audio()
Public Methods
public
static
String
keyFor(String name)
Converts a name to a "key" that can be used for grouping, sorting
and searching.
The rules that govern this conversion are:
- remove 'special' characters like ()[]'!?.,
- remove leading/trailing spaces
- convert everything to lowercase
- remove leading "the ", "an " and "a "
- remove trailing ", the|an|a"
- remove accents. This step leaves us with CollationKey data,
which is not human readable
Parameters
name
| The artist or album name to convert |
Returns
- The "key" for the given name.