WebAppInstallRequest.Builder Constructors
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.
Overloads
| Name | Description |
|---|---|
| WebAppInstallRequest.Builder(ICharSequence, String) |
Creates a new Builder with the required PWA manifest URL. |
| WebAppInstallRequest.Builder(String, String) |
Creates a new Builder with the required PWA manifest URL. |
WebAppInstallRequest.Builder(ICharSequence, String)
Creates a new Builder with the required PWA manifest URL.
[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Ljava/lang/String;)V", "", ApiSince=37)]
public Builder(Java.Lang.ICharSequence title, string manifestUrl);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Ljava/lang/String;)V", "", ApiSince=37)>]
new Android.Content.PM.Webapp.WebAppInstallRequest.Builder : Java.Lang.ICharSequence * string -> Android.Content.PM.Webapp.WebAppInstallRequest.Builder
Parameters
- title
- ICharSequence
The initial title of the app to display during the installation process. <p>Note: The final app name may differ as it is prioritized from the content of the web manifest.
- manifestUrl
- String
The URL of the PWA manifest.
- Attributes
Remarks
Creates a new Builder with the required PWA manifest URL.
Android reference for android.content.pm.webapp.WebAppInstallRequest.Builder.Builder.
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
WebAppInstallRequest.Builder(String, String)
Creates a new Builder with the required PWA manifest URL.
[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Ljava/lang/String;)V", "", ApiSince=37)]
public Builder(string title, string manifestUrl);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Ljava/lang/String;)V", "", ApiSince=37)>]
new Android.Content.PM.Webapp.WebAppInstallRequest.Builder : string * string -> Android.Content.PM.Webapp.WebAppInstallRequest.Builder
Parameters
- title
- String
The initial title of the app to display during the installation process. Note: The final app name may differ as it is prioritized from the content of the web manifest. This value cannot be null.
- manifestUrl
- String
The URL of the PWA manifest. This value cannot be null.
- Attributes
Remarks
Creates a new Builder with the required PWA manifest URL.
Android reference for android.content.pm.webapp.WebAppInstallRequest.Builder.Builder.
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.