Unity get device id. events that are being sent to the device will be ignored.