Language

ReadMedicalResourcesInitialRequest.Builder.AddDataSourceIds Method

Definition

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

[Android.Runtime.Register("addDataSourceIds", "(Ljava/util/Set;)Landroid/health/connect/ReadMedicalResourcesInitialRequest$Builder;", "", ApiSince=36)]
public Android.Health.Connect.ReadMedicalResourcesInitialRequest.Builder AddDataSourceIds(System.Collections.Generic.ICollection<string> dataSourceIds);
[<Android.Runtime.Register("addDataSourceIds", "(Ljava/util/Set;)Landroid/health/connect/ReadMedicalResourcesInitialRequest$Builder;", "", ApiSince=36)>]
member this.AddDataSourceIds : System.Collections.Generic.ICollection<string> -> Android.Health.Connect.ReadMedicalResourcesInitialRequest.Builder

Parameters

dataSourceIds
ICollection<String>

Returns

Attributes

Remarks

Adds all data source IDs based on which the read operation is to be performed. This should all be IDs of existing MedicalDataSources.

If no MedicalDataSource IDs are added, then MedicalResources from all MedicalDataSources will be read.

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

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