Language

CreateMedicalDataSourceRequest.Builder Constructors

Definition

Overloads

Name Description
CreateMedicalDataSourceRequest.Builder(CreateMedicalDataSourceRequest)

Constructs a clone of the other CreateMedicalDataSourceRequest instance.

CreateMedicalDataSourceRequest.Builder(CreateMedicalDataSourceRequest+Builder)

Constructs a clone of the other CreateMedicalDataSourceRequest.Builder.

CreateMedicalDataSourceRequest.Builder(Uri, String, FhirVersion)

Constructs a new CreateMedicalDataSourceRequest.Builder instance.

CreateMedicalDataSourceRequest.Builder(CreateMedicalDataSourceRequest)

Constructs a clone of the other CreateMedicalDataSourceRequest instance.

[Android.Runtime.Register(".ctor", "(Landroid/health/connect/CreateMedicalDataSourceRequest;)V", "", ApiSince=36)]
public Builder(Android.Health.Connect.CreateMedicalDataSourceRequest other);
[<Android.Runtime.Register(".ctor", "(Landroid/health/connect/CreateMedicalDataSourceRequest;)V", "", ApiSince=36)>]
new Android.Health.Connect.CreateMedicalDataSourceRequest.Builder : Android.Health.Connect.CreateMedicalDataSourceRequest -> Android.Health.Connect.CreateMedicalDataSourceRequest.Builder

Parameters

Attributes

Remarks

Constructs a clone of the other CreateMedicalDataSourceRequest instance.

Android reference for android.health.connect.CreateMedicalDataSourceRequest.Builder.Builder.

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

CreateMedicalDataSourceRequest.Builder(CreateMedicalDataSourceRequest+Builder)

Constructs a clone of the other CreateMedicalDataSourceRequest.Builder.

[Android.Runtime.Register(".ctor", "(Landroid/health/connect/CreateMedicalDataSourceRequest$Builder;)V", "", ApiSince=36)]
public Builder(Android.Health.Connect.CreateMedicalDataSourceRequest.Builder other);
[<Android.Runtime.Register(".ctor", "(Landroid/health/connect/CreateMedicalDataSourceRequest$Builder;)V", "", ApiSince=36)>]
new Android.Health.Connect.CreateMedicalDataSourceRequest.Builder : Android.Health.Connect.CreateMedicalDataSourceRequest.Builder -> Android.Health.Connect.CreateMedicalDataSourceRequest.Builder

Parameters

Attributes

Remarks

Constructs a clone of the other CreateMedicalDataSourceRequest.Builder.

Android reference for android.health.connect.CreateMedicalDataSourceRequest.Builder.Builder.

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

CreateMedicalDataSourceRequest.Builder(Uri, String, FhirVersion)

Constructs a new CreateMedicalDataSourceRequest.Builder instance.

[Android.Runtime.Register(".ctor", "(Landroid/net/Uri;Ljava/lang/String;Landroid/health/connect/datatypes/FhirVersion;)V", "", ApiSince=36)]
public Builder(Android.Net.Uri fhirBaseUri, string displayName, Android.Health.Connect.DataTypes.FhirVersion fhirVersion);
[<Android.Runtime.Register(".ctor", "(Landroid/net/Uri;Ljava/lang/String;Landroid/health/connect/datatypes/FhirVersion;)V", "", ApiSince=36)>]
new Android.Health.Connect.CreateMedicalDataSourceRequest.Builder : Android.Net.Uri * string * Android.Health.Connect.DataTypes.FhirVersion -> Android.Health.Connect.CreateMedicalDataSourceRequest.Builder

Parameters

fhirBaseUri
Uri

The FHIR base URI of the data source. For data coming from a FHIR server this should be the FHIR base URL (e.g. https://example.com/fhir). If the data is generated by an app without a FHIR URL, this can be populated by a unique and understandable URI defined by the app (e.g. myapp://..) that points to the source of the data. We recommend not to use a domain name that you don't control. If your app supports app deep linking, this URI would ideally link to the source data. The maximum length for the URI is 2000 characters. This value cannot be null.

displayName
String

The display name that describes the data source. The maximum length for the display name is 90 characters. This must be unique per app. This value cannot be null.

fhirVersion
FhirVersion

The FHIR version of the medical data that will be linked to this data source. This has to be a version supported by Health Connect, as documented on the FhirVersion. This value cannot be null.

Attributes

Remarks

Constructs a new CreateMedicalDataSourceRequest.Builder instance.

Android reference for android.health.connect.CreateMedicalDataSourceRequest.Builder.Builder.

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