Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
org.dartlang.vm.service.RemoteServiceCompleter Interface Reference

Public Member Functions

void result (JsonObject result)
 
void error (int code, String message, JsonObject data)
 

Detailed Description

Definition at line 18 of file RemoteServiceCompleter.java.

Member Function Documentation

◆ error()

void org.dartlang.vm.service.RemoteServiceCompleter.error ( int  code,
String  message,
JsonObject  data 
)

Should be called when a service request completes with an error.

Parameters
codethe error code generated by the request
messagethe description of the error
data[optional] the description of the error

◆ result()

void org.dartlang.vm.service.RemoteServiceCompleter.result ( JsonObject  result)

Should be called when a service request completes successfully.

Parameters
resultthe result of the request

The documentation for this interface was generated from the following file: