newObjv

fun newObjv(strv: List<String>, length: Long): Variant

Constructs an array of object paths #GVariant from the given array of strings.

Each string must be a valid #GVariant object path; see g_variant_is_object_path().

If @length is -1 then @strv is null-terminated.

Return

a new floating #GVariant instance

Since

2.30

Parameters

strv

an array of strings

length

the length of @strv, or -1