CameraGroup
- class CameraGroup
-
- property name
The name of the group.
- Type
- Raises
ReadOnlyError -- If
Databaseis in read only mode.
- property parent_group
The parent group of this group or
Noneif the group is at the root of the hierarchy.- Type
CameraGroup or None
- Raises
ReadOnlyError -- If
Databaseis in read only mode.
- list_cameras(recursive=True)
List the cameras of the group.
- list_child_groups(recursive=True)
List the child camera groups of this group.
- remove(force=False)
Delete a camera group
Note
By default, only empty groups can be deleted (
NotEmptyErroris raised otherwise), useforceto force deletion of non empty groups.- Parameters
force (bool) -- Force the deletion of the group even if it contains cameras and/or groups.
- Raises
NotEmptyError -- If
forceisFalseand the group contains cameras and/or groups.ReadOnlyError -- If
Databaseis in read only mode.