Język

FhirResource.Builder.SetType(Int32) Method

Definition

Sets the FHIR resource type.

[Android.Runtime.Register("setType", "(I)Landroid/health/connect/datatypes/FhirResource$Builder;", "", ApiSince=36)]
public Android.Health.Connect.DataTypes.FhirResource.Builder SetType(int type);
[<Android.Runtime.Register("setType", "(I)Landroid/health/connect/datatypes/FhirResource$Builder;", "", ApiSince=36)>]
member this.SetType : int -> Android.Health.Connect.DataTypes.FhirResource.Builder

Parameters

Returns

This FHIR resource builder with the resource type set.

Attributes

Exceptions

type is not a supported FHIR resource type.

Remarks

Sets the FHIR resource type. Supply the type for the "resourceType" field in data; this method does not extract it from the data.

Android reference for android.health.connect.datatypes.FhirResource.Builder.setType.

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