Sha256: c46a0797f9a1751978a582d0bfe43b3d6d3621e2e3a024b9fd47bfbb5354a221
Contents?: true
Size: 1012 Bytes
Versions: 27
Compression:
Stored size: 1012 Bytes
Contents
'##COPYRIGHT HEADER## sub main(externalParams) port = createObject("roMessagePort") screen = createObject("roSGScreen") screen.setMessagePort(port) m.global = screen.getGlobalNode() m.global.observeField("redData", port) m.input = createObject("roInput") m.input.setMessagePort(port) device = createObject("roDeviceInfo") device.setMessagePort(port) device.enableLinkStatusEvent(true) scene = screen.createScene("Main") screen.show() scene.observeField("exitApplication", port) scene.observeField("sessionLength", port) scene.signalBeacon("AppLaunchComplete") scene.signalBeacon("AppDialogInitiate") scene.signalBeacon("AppDialogComplete") while(true) msg = wait(0, port) msgType = type(msg) if invalid <> msg if "roInputEvent" = msgType info = msg.getInfo() if invalid <> info mediaType = externalParams.mediaType contentId = externalParams.contentId end if end if end if end while end sub
Version data entries
27 entries across 27 versions & 1 rubygems