public final class GSTPlatform extends Platform
Modifier and Type | Field and Description |
---|---|
private static java.lang.String[] |
CONTENT_TYPES
The MIME types of all supported media.
|
private static GSTPlatform |
globalInstance |
private static java.lang.String[] |
PROTOCOLS
All supported protocols.
|
Modifier | Constructor and Description |
---|---|
private |
GSTPlatform() |
Modifier and Type | Method and Description |
---|---|
Media |
createMedia(Locator source) |
MediaPlayer |
createMediaPlayer(Locator source)
Prepare for playing the specified media.
|
static Platform |
getPlatformInstance() |
java.lang.String[] |
getSupportedContentTypes() |
java.lang.String[] |
getSupportedProtocols() |
private static int |
gstInitPlatform()
Initialize the native peer of this media manager.
|
boolean |
loadPlatform() |
canPlayContentType, canPlayProtocol, createMetadataParser
private static final java.lang.String[] CONTENT_TYPES
private static final java.lang.String[] PROTOCOLS
private static GSTPlatform globalInstance
public boolean loadPlatform()
loadPlatform
in class Platform
public static Platform getPlatformInstance()
public java.lang.String[] getSupportedContentTypes()
getSupportedContentTypes
in class Platform
public java.lang.String[] getSupportedProtocols()
getSupportedProtocols
in class Platform
public Media createMedia(Locator source)
createMedia
in class Platform
public MediaPlayer createMediaPlayer(Locator source)
Platform
createMediaPlayer
in class Platform
private static int gstInitPlatform()