EmbeddedBiometricPrompt.Builder.SetNextTranslationOffset(Int32) Method
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.
Optional: Sets the ending target layout translation offset in pixels (px) for the disappear (exit) animation of the biometric prompt.
[Android.Runtime.Register("setNextTranslationOffset", "(I)Landroid/hardware/biometrics/EmbeddedBiometricPrompt$Builder;", "", ApiSince=37)]
public Android.Hardware.Biometrics.EmbeddedBiometricPrompt.Builder SetNextTranslationOffset(int nextTranslationOffset);
[<Android.Runtime.Register("setNextTranslationOffset", "(I)Landroid/hardware/biometrics/EmbeddedBiometricPrompt$Builder;", "", ApiSince=37)>]
member this.SetNextTranslationOffset : int -> Android.Hardware.Biometrics.EmbeddedBiometricPrompt.Builder
Parameters
- nextTranslationOffset
- Int32
The ending target translation offset in pixels (px).
Returns
This builder. This value cannot be null.
- Attributes
Remarks
Optional: Sets the ending target layout translation offset in pixels (px) for the disappear (exit) animation of the biometric prompt.
When the prompt is dismissed, it animates from its resting position to this target layout offset.
In portrait mode, the offset is applied vertically along the Y-axis (vertical slide).
In landscape mode, the offset is applied horizontally along the X-axis (horizontal slide), relative to the display boundaries based on the current screen rotation (e.g. 90 or 270 degrees).
This absolute pixel value can be used to synchronize the exit of the prompt with the entry animation of a subsequent screen in the client application.
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.