EmbeddedBiometricPrompt.NextTranslationOffset Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the ending target layout translation offset in pixels (px) for the disappear (exit) animation.
public int NextTranslationOffset { [Android.Runtime.Register("getNextTranslationOffset", "()I", "", ApiSince=37)] get; [Android.Runtime.Register("setNextTranslationOffset", "(I)V", "", ApiSince=37)] set; }
[<get: Android.Runtime.Register("getNextTranslationOffset", "()I", "", ApiSince=37)>]
[<set: Android.Runtime.Register("setNextTranslationOffset", "(I)V", "", ApiSince=37)>]
member this.NextTranslationOffset : int with get, set
Property Value
The ending target translation offset in pixels (px).
- Attributes
Remarks
Gets or sets the ending target layout translation offset in pixels (px) for the disappear (exit) animation. When the prompt is dismissed, it animates from its resting position to this target offset.
In portrait mode, this target offset is applied vertically along the Y-axis.
In landscape mode, this target offset is applied horizontally along the X-axis.
Android reference for android.hardware.biometrics.EmbeddedBiometricPrompt.getNextTranslationOffset.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.