Partager via


AdSelectionSignals.FromString(String) Method

Definition

Creates an AdSelectionSignals from a given JSON in String form.

[Android.Runtime.Register("fromString", "(Ljava/lang/String;)Landroid/adservices/common/AdSelectionSignals;", "", ApiSince=34)]
public static Android.AdServices.Common.AdSelectionSignals FromString (string source);
[<Android.Runtime.Register("fromString", "(Ljava/lang/String;)Landroid/adservices/common/AdSelectionSignals;", "", ApiSince=34)>]
static member FromString : string -> Android.AdServices.Common.AdSelectionSignals

Parameters

source
String

Any valid JSON string to create the AdSelectionSignals with.

Returns

An AdSelectionSignals object wrapping the given String.

Attributes

Remarks

Creates an AdSelectionSignals from a given JSON in String form.

Java documentation for android.adservices.common.AdSelectionSignals.fromString(java.lang.String).

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