res->setRemoteAttributes(attrs, std::bind(onRemoteAttributesReceived,
std::placeholders::_1, std::placeholders::_2, JavaGlobalRef{ env, listener }));
}
res->setRemoteAttributes(attrs, std::bind(onRemoteAttributesReceived,
std::placeholders::_1, std::placeholders::_2, JavaGlobalRef{ env, listener }));
}