3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish
3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish

message_to_dp()

정의

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)

프로그램 강제 종료 시

예제

Python
tp_log('message send!')
event, data = message_to_dp('wait', 'true')
tp_log('message get!')

Keyword

message / dp / message_ / message_to