def getUserId(self): return Utils.getDictDataByKeys(self.data, ['context', 'System', 'user', 'userId'])
def getLocation(self): return Utils.getDictDataByKeys( self.data, ['context', 'System', 'user', 'userInfo', 'location', 'geo'])
def getAudioPlayerContext(self): ''' 获取设备音频播放的状态 :return: ''' return Utils.getDictDataByKeys(self.data, ['context', 'AudioPlayer'])
def getAppLauncherContext(self): ''' 获取设备app安装列表 :return: ''' return Utils.getDictDataByKeys(self.data, ['context', 'AppLauncher'])
def getSessionId(self): return Utils.getDictDataByKeys(self.data, ['session', 'sessionId'])
def getDeviceId(self): return Utils.getDictDataByKeys( self.data, ['context', 'System', 'device', 'deviceId'])
def getRequestId(self): return Utils.getDictDataByKeys(self.data, ['request', 'requestId'])
def getReson(self): return Utils.getDictDataByKeys(self.data, ['request', 'reason'])
def getBotId(self): return Utils.getDictDataByKeys( self.data, ['context', 'System', 'application', 'applicationId'])
def getTimestamp(self): return Utils.getDictDataByKeys(self.data, ['request', 'timestamp'])
def getReprompt(self): return Utils.getDictDataByKeys( self.data, ['response', 'reprompt', 'outputSpeech'])
def getShouldEndSession(self): return Utils.getDictDataByKeys(self.data, ['response', 'shouldEndSession'])
def getOutputSpeech(self): return Utils.getDictDataByKeys(self.data, ['response', 'outputSpeech'])