Language

EmbeddedBiometricPrompt.Builder.SetLogoRes(Int32) Method

Definition

Optional: Sets the drawable resource 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("setLogoRes", "(I)Landroid/hardware/biometrics/EmbeddedBiometricPrompt$Builder;", "", ApiSince=37)]
public Android.Hardware.Biometrics.EmbeddedBiometricPrompt.Builder SetLogoRes(int logoRes);
[<Android.Runtime.Register("setLogoRes", "(I)Landroid/hardware/biometrics/EmbeddedBiometricPrompt$Builder;", "", ApiSince=37)>]
member this.SetLogoRes : int -> Android.Hardware.Biometrics.EmbeddedBiometricPrompt.Builder

Parameters

logoRes
Int32

A drawable resource of the logo that will be shown on the credential page.

Returns

This builder. This value cannot be null.

Attributes

Remarks

Optional: Sets the drawable resource 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.setLogoRes.

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