To get a list of all registered layers (not just those set to be visible), see mapLayers()

mapCanvas.layers(...)

Arguments

...

low-level parameters (such as host and auth) to be passed on to qgisremote()

Value

A list of qgislayer() elements.

See also

qgislayer(), mapLayers(), mapCanvas.layer()