use of com.facebook.stetho.inspector.protocol.ChromeDevtoolsMethod in project stetho by facebook.
the class Page method startScreencast.
@ChromeDevtoolsMethod
public void startScreencast(final JsonRpcPeer peer, JSONObject params) {
final StartScreencastRequest request = mObjectMapper.convertValue(params, StartScreencastRequest.class);
if (mScreencastDispatcher == null) {
mScreencastDispatcher = new ScreencastDispatcher();
mScreencastDispatcher.startScreencast(peer, request);
}
}
Aggregations