DeviceRotationChangedCommand.lua 394 B

1234567891011
  1. local DeviceRotationChangedCommand = class("DeviceRotationChangedCommand", framework.SimpleCommand)
  2. function DeviceRotationChangedCommand:ctor()
  3. end
  4. function DeviceRotationChangedCommand:execute(notification)
  5. global.Facade:sendNotification(global.NoticeTable.DRotationChanged)
  6. SLBridge:onLUAEvent(LUA_EVENT_DEVICE_ROTATION_CHANGED)
  7. end
  8. return DeviceRotationChangedCommand