public class RoboAssets extends AbstractAssets<org.robovm.apple.uikit.UIImage>
| Constructor and Description |
|---|
RoboAssets(RoboPlatform platform) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytesSync(String path) |
Sound |
getMusic(String path) |
Image |
getRemoteImage(String url,
float width,
float height) |
Sound |
getSound(String path) |
String |
getTextSync(String path) |
void |
setPathPrefix(String pathPrefix)
Configures the prefix prepended to asset paths before fetching them from the app directory.
|
getBytes, getImage, getImageSync, getRemoteImage, getTextpublic RoboAssets(RoboPlatform platform)
public void setPathPrefix(String pathPrefix)
public Image getRemoteImage(String url, float width, float height)
getRemoteImage in interface AssetsgetRemoteImage in class AbstractAssets<org.robovm.apple.uikit.UIImage>public Sound getMusic(String path)
getMusic in interface AssetsgetMusic in class AbstractAssets<org.robovm.apple.uikit.UIImage>Copyright © 2015. All Rights Reserved.