EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Especificações Página 188

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 304
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 187
CHAPTER 5: Interapplication Communication with Scripts BridgeTalk message object 188
onResult
Function A callback function that the target application invokes to return a response
to the sender. This can be an intermediate response or the final result of
processing the message.
To handle the response, set this to a function definition in the following
form:
bridgeTalkObj.onResult = function( responseMsgObject ) {
// handler defined here
};
The target passes a new message object, with the body property set to the
result string. This is the result of the target application’s static
BridgeTalk
onReceive
method, packaged as a UTF-8-encoded string. See Passing
values between applications” on page 176.
onTimeout
Function A callback function that the target application invokes with a time-out
message if time-out occurred before the target finished processing another
message previously sent by this application. To enable this callback, the
message must specify a value for the timeout
property.
To define a response to the timeout event, set this to a function definition in
the following form:
bridgeTalkObj.onTimeout = function( timeoutMsgObject ) {
// handler defined here
};
Vista de página 187
1 2 ... 183 184 185 186 187 188 189 190 191 192 193 ... 303 304

Comentários a estes Manuais

Sem comentários