BiometricPrompt.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 prompt.
[Android.Runtime.Register("setContentView", "(Landroid/hardware/biometrics/PromptContentView;)Landroid/hardware/biometrics/BiometricPrompt$Builder;", "GetSetContentView_Landroid_hardware_biometrics_PromptContentView_Handler", ApiSince=35)]
public virtual Android.Hardware.Biometrics.BiometricPrompt.Builder SetContentView(Android.Hardware.Biometrics.IPromptContentView view);
[<Android.Runtime.Register("setContentView", "(Landroid/hardware/biometrics/PromptContentView;)Landroid/hardware/biometrics/BiometricPrompt$Builder;", "GetSetContentView_Landroid_hardware_biometrics_PromptContentView_Handler", ApiSince=35)>]
abstract member SetContentView : Android.Hardware.Biometrics.IPromptContentView -> Android.Hardware.Biometrics.BiometricPrompt.Builder
override this.SetContentView : Android.Hardware.Biometrics.IPromptContentView -> Android.Hardware.Biometrics.BiometricPrompt.Builder
Parameters
- view
- IPromptContentView
The customized view information. 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 prompt.
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.BiometricPrompt.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.