ProviderProperties.Builder Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| ProviderProperties.Builder() |
Creates a builder with the default provider property values. |
| ProviderProperties.Builder(ProviderProperties) |
Creates a builder with values copied from the specified provider properties. |
ProviderProperties.Builder()
Creates a builder with the default provider property values.
[Android.Runtime.Register(".ctor", "()V", "", ApiSince=31)]
public Builder();
- Attributes
Remarks
The network, satellite, and cell requirements, monetary cost, and altitude, speed, and bearing support flags are all false. Power usage is High, and accuracy is Coarse. These are initial property values, not measurements of a device.
Android 16 implementation of ProviderProperties.Builder.
Applies to
ProviderProperties.Builder(ProviderProperties)
Creates a builder with values copied from the specified provider properties.
[Android.Runtime.Register(".ctor", "(Landroid/location/provider/ProviderProperties;)V", "", ApiSince=31)]
public Builder(Android.Locations.Provider.ProviderProperties providerProperties);
[<Android.Runtime.Register(".ctor", "(Landroid/location/provider/ProviderProperties;)V", "", ApiSince=31)>]
new Android.Locations.Provider.ProviderProperties.Builder : Android.Locations.Provider.ProviderProperties -> Android.Locations.Provider.ProviderProperties.Builder
Parameters
- providerProperties
- ProviderProperties
The provider properties whose values initialize this builder. This argument must not be null.
- Attributes
Remarks
Copies all requirement, cost, and support flags, as well as power usage and accuracy. Later changes to this builder do not change providerProperties.
Android 16 implementation of ProviderProperties.Builder.