Method SetViewpointAsync
SetViewpointAsync(Viewpoint, TimeSpan, AnimationCurve)
Animates the display to the new viewpoint using the provided animation curve. The AnimationCurve defines the animation easing function.
Declaration
public Task<bool> SetViewpointAsync(Viewpoint viewpoint, TimeSpan duration, AnimationCurve animationCurve)
Parameters
Type | Name | Description |
---|---|---|
Viewpoint | viewpoint | The visible area to display in the view. |
System.TimeSpan | duration | The time for the transition animation to complete. |
AnimationCurve | animationCurve | The type of animation curve. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Android | 200.3 - 200.5 |
Xamarin.Android | 100.0 - 100.14 |