EmbeddedBiometricPrompt.Builder.SetContentView(IPromptContentView) 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 application customized content view that will be shown on the device credential fallback page (when the user is authenticating with PIN/pattern/password).
[Android.Runtime.Register("setContentView", "(Landroid/hardware/biometrics/PromptContentView;)Landroid/hardware/biometrics/EmbeddedBiometricPrompt$Builder;", "", ApiSince=37)]
public Android.Hardware.Biometrics.EmbeddedBiometricPrompt.Builder SetContentView(Android.Hardware.Biometrics.IPromptContentView view);
[<Android.Runtime.Register("setContentView", "(Landroid/hardware/biometrics/PromptContentView;)Landroid/hardware/biometrics/EmbeddedBiometricPrompt$Builder;", "", ApiSince=37)>]
member this.SetContentView : Android.Hardware.Biometrics.IPromptContentView -> Android.Hardware.Biometrics.EmbeddedBiometricPrompt.Builder
Parameters
- view
- IPromptContentView
The customized view information to display on the credential page. This value cannot be null.
Returns
This builder. This value cannot be null.
- Attributes
Remarks
Optional: Sets application customized content view that will be shown on the device credential fallback page (when the user is authenticating with PIN/pattern/password).
Note that the description set by Builder.setDescription(CharSequence) will be overridden by Builder.setContentView(PromptContentView). The view provided to Builder.setContentView(PromptContentView) will be used if both methods are called.
Android reference for android.hardware.biometrics.EmbeddedBiometricPrompt.Builder.setContentView.
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.