public class RoboPlatform extends Platform
| Modifier and Type | Class and Description |
|---|---|
static class |
RoboPlatform.Config
Used to configure the RoboVM platform.
|
Platform.Error, Platform.Lifecycle, Platform.Type| Modifier and Type | Field and Description |
|---|---|
Signal<RoboOrientEvent> |
orient
A signal emitted when the device rotates.
|
| Modifier and Type | Method and Description |
|---|---|
RoboAssets |
assets() |
RoboAudio |
audio() |
static RoboPlatform |
create(org.robovm.apple.uikit.UIWindow window,
RoboPlatform.Config config)
Creates a RoboVM platform for operation in
window. |
Exec |
exec() |
RoboGraphics |
graphics() |
RoboInput |
input() |
Json |
json() |
Log |
log() |
Net |
net() |
void |
openURL(java.lang.String url) |
Storage |
storage() |
int |
tick() |
double |
time() |
Platform.Type |
type() |
dispatchEvent, invokeAsync, invokeLater, isAsyncSupported, reportErrorpublic Signal<RoboOrientEvent> orient
public static RoboPlatform create(org.robovm.apple.uikit.UIWindow window, RoboPlatform.Config config)
window.
This basically just sets the root view controller of the supplied window and that view
controller manages everything else. If you wish to embed a PlayN game in a larger iOS app, or
to customize PlayN more deeply, create a RoboViewController yourself and include it in
your app wherever you like.
public Platform.Type type()
public RoboAssets assets()
public RoboGraphics graphics()
Copyright © 2019. All Rights Reserved.