set_from_uri


Description:

public bool set_from_uri (string uri) throws Error

Initialize a Location object with the given uri.

The URI should be in the geo scheme (RFC 5870) which in its simplest form looks like:

- geo:latitude,longitude

An Android extension to set a description is also supported in the form of:

- geo:0,0?q=latitude,longitude(description)

Parameters:

this

a Location

uri

a URI mapping out a location

Returns:

true on success and false on error.




2022 vala-language.org