def send_session_setup_result(self, result, app_uuid=None):
assert self._session_id != VoiceService.SESSION_ID_INVALID<EOL>assert isinstance(result, SetupResult)<EOL>flags = <NUM_LIT:0><EOL>if app_uuid is not None:<EOL><INDENT>assert isinstance(app_uuid, uuid.UUID)<EOL>flags |= Flags.AppInitiated<EOL><DEDENT>logger.debug("<STR_LIT>".format(result) +<EOL>"<STR_LIT>".format(app_uuid) if app_uuid is not None else "<STR_LIT:)>")<EOL>self._pebble.send_packet(VoiceControlResult(flags=flags, data=SessionSetupResult(<EOL>session_type=SessionType.Dictation, result=result)))<EOL>if result != SetupResult.Success:<EOL><INDENT>self._session_id = VoiceService.SESSION_ID_INVALID<EOL><DEDENT>
Send the result of setting up a dictation session requested by the watch

:param result:  result of setting up the session
:type result: .SetupResult
:param app_uuid: UUID of app that initiated the session
:type app_uuid: uuid.UUID