setProfile abstract method
- List<
SpeedBasedCameraBehaviorProfileValue> profile
Sets the profile.
The speed ranges within the profile can overlap in order to prevent oscillations between adjacent levels. Provided profile must satisfy following conditions:
-
profile must not be empty
-
each speed range must be valid (fromMetersPerSecond must be less then toMetersPerSecond)
-
ranges must be sorted by fromMetersPerSecond and toMetersPerSecond
-
gaps between ranges are not allowed Invalid profile will be rejected and error message logged with explanation of violated restriction.
-
profileThe new profile value.
Implementation
void setProfile(List<SpeedBasedCameraBehaviorProfileValue> profile);