// // Created by Marc on 19/06/2021. // #pragma once #include #include #include #include #include #include "JFrame.h" namespace vision { using namespace facebook; class JSI_EXPORT FrameHostObject : public jsi::HostObject { public: explicit FrameHostObject(const jni::alias_ref& frame); ~FrameHostObject(); public: jsi::Value get(jsi::Runtime&, const jsi::PropNameID& name) override; std::vector getPropertyNames(jsi::Runtime& rt) override; public: jni::global_ref frame; }; } // namespace vision