Advertisement
Guest User

Untitled

a guest
Apr 25th, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. me.airconsole.onCustomDeviceStateChange = function (device_id, device_data) {
  2. if (device_id == AirConsole.SCREEN) {
  3. if (device_data["view"] != null && device_data["view"] != "" && device_data["view"] != "Menu" && device_data["view"] != "Introduction") {
  4. console.log("DEVICE ID " + me.airconsole.getDeviceId() + " : " + me.airconsole.convertDeviceIdToPlayerNumber(me.airconsole.getDeviceId()));
  5. if (me.airconsole.convertDeviceIdToPlayerNumber(me.airconsole.getDeviceId()) == null) {
  6. vm.show("InProgress");
  7. }
  8. else {
  9. vm.show(device_data["view"]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement