MCPcopy Create free account
hub / github.com/NativeScript/android / ada_set_href

Function ada_set_href

test-app/runtime/src/main/cpp/ada/ada.cpp:17198–17204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17196}
17197
17198bool ada_set_href(ada_url result, const char* input, size_t length) noexcept {
17199 ada::result<ada::url_aggregator>& r = get_instance(result);
17200 if (!r) {
17201 return false;
17202 }
17203 return r->set_href(std::string_view(input, length));
17204}
17205
17206bool ada_set_host(ada_url result, const char* input, size_t length) noexcept {
17207 ada::result<ada::url_aggregator>& r = get_instance(result);

Callers

nothing calls this directly

Calls 1

set_hrefMethod · 0.80

Tested by

no test coverage detected