MCPcopy Create free account
hub / github.com/Snapchat/Valdi / snapDrawingSetSurfaceNeedsRedraw

Method snapDrawingSetSurfaceNeedsRedraw

valdi/src/valdi/android/NativeBridge.cpp:2222–2228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2220 Valdi::ValueArrayBuilder builder;
2221 for (auto const& item : result.value()) {
2222 builder.append(Valdi::Value(item));
2223 }
2224 content = Valdi::Value(builder.build());
2225 } else {
2226 content = Valdi::Value(Valdi::ValueArray::make(0));
2227 error = Valdi::Value(result.error().toStringBox());
2228 }
2229 (*completionConverted.getFunction())({content, error});
2230 });
2231}

Callers

nothing calls this directly

Calls 2

getSnapDrawingRootFunction · 0.85
setSurfaceNeedsRedrawMethod · 0.45

Tested by

no test coverage detected