Settings.getStrv

A convenience variant of Settings.get for string arrays.

It is a programmer error to give a key that isn't specified as having an array of strings type in the schema for settings.

class Settings
string[]
getStrv
(
string key
)

Parameters

key string

the key to get the value for

Return Value

Type: string[]

a newly-allocated, NULL-terminated array of strings, the value that is stored at key in settings.

Meta

Since

2.26