Language

BiometricPrompt.Builder.SetLogoBitmap(Bitmap) Method

Definition

Optional: Sets the bitmap drawable of the logo that will be shown on the prompt.

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

Parameters

logoBitmap
Bitmap

A bitmap drawable of the logo that will be shown on the prompt. 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 prompt.

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.BiometricPrompt.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