Språk

ClassifiableContent.Builder.SetData(ParcelFileDescriptor) Method

Definition

Sets the ParcelFileDescriptor containing the raw data of this content.

[Android.Runtime.Register("setData", "(Landroid/os/ParcelFileDescriptor;)Landroid/app/contentsafety/ClassifiableContent$Builder;", "", ApiSince=37)]
public Android.App.ContentSafety.ClassifiableContent.Builder SetData(Android.OS.ParcelFileDescriptor data);
[<Android.Runtime.Register("setData", "(Landroid/os/ParcelFileDescriptor;)Landroid/app/contentsafety/ClassifiableContent$Builder;", "", ApiSince=37)>]
member this.SetData : Android.OS.ParcelFileDescriptor -> Android.App.ContentSafety.ClassifiableContent.Builder

Parameters

data
ParcelFileDescriptor

the ParcelFileDescriptor to set. This value cannot be null.

Returns

this builder. This value cannot be null.

Attributes

Remarks

Sets the ParcelFileDescriptor containing the raw data of this content.

Android reference for android.app.contentsafety.ClassifiableContent.Builder.setData.

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