public abstract class Platform extends Object
Constructor and Description |
---|
Platform() |
Modifier and Type | Method and Description |
---|---|
boolean |
canPlayContentType(String contentType) |
boolean |
canPlayProtocol(String protocol) |
abstract Media |
createMedia(Locator source) |
abstract MediaPlayer |
createMediaPlayer(Locator source)
Prepare for playing the specified media.
|
MetadataParser |
createMetadataParser(Locator source) |
static Platform |
getPlatformInstance() |
String[] |
getSupportedContentTypes() |
String[] |
getSupportedProtocols() |
boolean |
loadPlatform() |
public static Platform getPlatformInstance()
public boolean loadPlatform()
public boolean canPlayContentType(String contentType)
public boolean canPlayProtocol(String protocol)
public String[] getSupportedContentTypes()
public String[] getSupportedProtocols()
public MetadataParser createMetadataParser(Locator source)
public abstract MediaPlayer createMediaPlayer(Locator source)
Copyright © 2020. All rights reserved.