Skip to content

Commit

Permalink
Merge pull request #737 from ably/feature/update-camera-less-frequently
Browse files Browse the repository at this point in the history
Update camera less frequently in the subscriber example app
  • Loading branch information
KacperKluka authored Aug 12, 2022
2 parents b4d7a11 + cd013ba commit 62e098d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ class MainActivity : AppCompatActivity() {
private var resolution: Resolution =
Resolution(Accuracy.MAXIMUM, desiredInterval = 1000L, minimumDisplacement = 1.0)
private var locationUpdateIntervalInMilliseconds = resolution.desiredInterval
private val enhancedLocationAnimator: LocationAnimator = CoreLocationAnimator()
private val enhancedLocationAnimator: LocationAnimator = CoreLocationAnimator(
animationStepsBetweenCameraUpdates = 5,
)
private val rawLocationAnimator: LocationAnimator = CoreLocationAnimator()
private val animationOptionsManager = AnimationOptionsManager()

Expand Down

0 comments on commit 62e098d

Please sign in to comment.