Skip to main content
Skip table of contents

message_to_dp(event_name, strdata)

기능

사용자에게 메시지를 제공한 후, 사용자에게 응답 메세지를 전달 받으면 응답 메세지를 리턴합니다.

인수

인수명자료형기본값설명

event_name

string

-

사용자에게 제공할 event name

  • event_name은 256byte 이내로 제한됩니다.

strdata

string

-

사용자에게 제공할 data

  • strdata는 3000byte 이내로 제한됩니다.

리턴

설명

string

sendUserEventResponse(Dart-API) 호출시 사용자가 입력한 event name

string

sendUserEventResponse(Dart-API) 호출시 사용자가 입력한 strdata

예외

예외설명

DR_Error (DR_ERROR_TYPE)

인수들의 데이터형 오류 시

DR_Error (DR_ERROR_VALUE)

인수의 값이 유효하지 않을 시

DR_Error (DR_ERROR_RUNTIME)

C Extension 모듈 에러 발생 시

DR_Error (DR_ERROR_STOP)

프로그램 강제 종료 시

예제

PY
tp_log('message send!')
event, data = message_to_dp('wait', 'true')
tp_log('message get!')
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.