Język

RenderOutput.Builder.SetContent(String) Method

Definition

The HTML content to be rendered in a webview.

[Android.Runtime.Register("setContent", "(Ljava/lang/String;)Landroid/adservices/ondevicepersonalization/RenderOutput$Builder;", "", ApiSince=35)]
public Android.AdServices.OnDevicePersonalization.RenderOutput.Builder SetContent(string? value);
[<Android.Runtime.Register("setContent", "(Ljava/lang/String;)Landroid/adservices/ondevicepersonalization/RenderOutput$Builder;", "", ApiSince=35)>]
member this.SetContent : string -> Android.AdServices.OnDevicePersonalization.RenderOutput.Builder

Parameters

value
String

Returns

Attributes

Remarks

The HTML content to be rendered in a webview. If this is null, the ODP service generates HTML from the data in RenderOutput.getTemplateId() and RenderOutput.getTemplateParams() as described below.

Android reference for android.adservices.ondevicepersonalization.RenderOutput.Builder.setContent.

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