setProtections

open fun setProtections(@NonNull protections: @NonNull List<Protection>)(source)

Replaces existing Protections with the given ones. Calling this with an empty list will remove all the protections.

Parameters

protections

a list of protections associated with a local area.