com.livescribe.i18n
Class SoundResource
java.lang.Object
com.livescribe.i18n.Resource
com.livescribe.i18n.AudibleResource
com.livescribe.i18n.SoundResource
public abstract class SoundResource
- extends AudibleResource
This class defines an audible resource that contains audio samples,
compressed or uncompressed, that can be read from an input stream. This
also provides a way to access the resource's MIME type.
| Fields inherited from class com.livescribe.i18n.Resource |
id |
|
Constructor Summary |
protected |
SoundResource(String id)
Creates a new sound resource having the specified ID. |
SoundResource
protected SoundResource(String id)
- Creates a new sound resource having the specified ID.
.
- Parameters:
id - the resource ID
getInputStream
public abstract InputStream getInputStream()
- Gets the localized audio stream.
- Returns:
- audio stream.
getMimeType
public abstract String getMimeType()
- Returns the MIME type of the audio stream.
- Returns:
- one of the following constants
Copyright © 2010 Livescribe Inc. All Rights Reserved.
Confidential and subject to NDA.