Language

ReadMedicalResourcesInitialRequest.Builder.AddDataSourceId(String) Method

Definition

Adds the data source ID based on which the read operation is to be performed.

[Android.Runtime.Register("addDataSourceId", "(Ljava/lang/String;)Landroid/health/connect/ReadMedicalResourcesInitialRequest$Builder;", "", ApiSince=36)]
public Android.Health.Connect.ReadMedicalResourcesInitialRequest.Builder AddDataSourceId(string dataSourceId);
[<Android.Runtime.Register("addDataSourceId", "(Ljava/lang/String;)Landroid/health/connect/ReadMedicalResourcesInitialRequest$Builder;", "", ApiSince=36)>]
member this.AddDataSourceId : string -> Android.Health.Connect.ReadMedicalResourcesInitialRequest.Builder

Parameters

dataSourceId
String

Returns

Attributes

Remarks

Adds the data source ID based on which the read operation is to be performed. This should be an ID of the existing MedicalDataSource.

If no MedicalDataSource ID is added, then MedicalResources from all MedicalDataSources will be read.

Android reference for android.health.connect.ReadMedicalResourcesInitialRequest.Builder.addDataSourceId.

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