ライフサイクルメソッド
方法 | 説明 |
|---|---|
ConnectedDeviceSystem タイプの APP_STARTED イベントを送信します。 | |
ConnectedDeviceSystem タイプの SCENE_LOADED イベントを送信します。 | |
システム ログメッセージを確認して処理し、適切なイベントを送信します。 |
例
APP_STARTED イベントを送信
sub Main(aa as Object) ... nrAppStarted(m.nr, aa)SCENE_LOADED イベントを送信
nrSceneLoaded(m.nr, "MyVideoScene")システムログメッセージを処理する
while (true) msg = wait(0, m.port) if nrProcessMessage(m.nr, msg) = false if type(msg) = "roPosterScreenEvent" if msg.isScreenClosed() exit while end if end if end ifend while