AssistContent.StructuredData Property

Definition

Returns the current #setStructuredData. -or- Sets optional structured data regarding the content being viewed.

public virtual string? StructuredData { [Android.Runtime.Register("getStructuredData", "()Ljava/lang/String;", "GetGetStructuredDataHandler", ApiSince=23)] get; [Android.Runtime.Register("setStructuredData", "(Ljava/lang/String;)V", "GetSetStructuredData_Ljava_lang_String_Handler", ApiSince=23)] set; }
[<get: Android.Runtime.Register("getStructuredData", "()Ljava/lang/String;", "GetGetStructuredDataHandler", ApiSince=23)>]
[<set: Android.Runtime.Register("setStructuredData", "(Ljava/lang/String;)V", "GetSetStructuredData_Ljava_lang_String_Handler", ApiSince=23)>]
member this.StructuredData : string with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns the current #setStructuredData.

Java documentation for android.app.assist.AssistContent.getStructuredData().

Property setter documentation:

Sets optional structured data regarding the content being viewed. The provided data must be a string represented with JSON-LD using the schema.org vocabulary.

Java documentation for android.app.assist.AssistContent.setStructuredData(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