Język

EmbeddedBiometricPrompt.Builder.SetLogoBitmap(Bitmap) Method

Definition

Optional: Sets the bitmap drawable of the logo that will be shown on the device credential fallback page (when the user is authenticating with PIN/pattern/password).

[Android.Runtime.Register("setLogoBitmap", "(Landroid/graphics/Bitmap;)Landroid/hardware/biometrics/EmbeddedBiometricPrompt$Builder;", "", ApiSince=37)]
public Android.Hardware.Biometrics.EmbeddedBiometricPrompt.Builder SetLogoBitmap(Android.Graphics.Bitmap logoBitmap);
[<Android.Runtime.Register("setLogoBitmap", "(Landroid/graphics/Bitmap;)Landroid/hardware/biometrics/EmbeddedBiometricPrompt$Builder;", "", ApiSince=37)>]
member this.SetLogoBitmap : Android.Graphics.Bitmap -> Android.Hardware.Biometrics.EmbeddedBiometricPrompt.Builder

Parameters

logoBitmap
Bitmap

A bitmap drawable of the logo that will be shown on the credential page. This value cannot be null.

Returns

This builder. This value cannot be null.

Attributes

Remarks

Optional: Sets the bitmap drawable of the logo that will be shown on the device credential fallback page (when the user is authenticating with PIN/pattern/password).

Note that using this method is not recommended in most scenarios because the calling application's icon will be used by default. Setting the logo is intended for large bundled applications that perform a wide range of functions and need to show distinct icons for each function. Requires Manifest.permission.SET_BIOMETRIC_DIALOG_ADVANCED

Android reference for android.hardware.biometrics.EmbeddedBiometricPrompt.Builder.setLogoBitmap.

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.

Applies to