Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- me.airconsole.onCustomDeviceStateChange = function (device_id, device_data) {
- if (device_id == AirConsole.SCREEN) {
- if (device_data["view"] != null && device_data["view"] != "" && device_data["view"] != "Menu" && device_data["view"] != "Introduction") {
- console.log("DEVICE ID " + me.airconsole.getDeviceId() + " : " + me.airconsole.convertDeviceIdToPlayerNumber(me.airconsole.getDeviceId()));
- if (me.airconsole.convertDeviceIdToPlayerNumber(me.airconsole.getDeviceId()) == null) {
- vm.show("InProgress");
- }
- else {
- vm.show(device_data["view"]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement