FeatureInfo.Version Property

Definition

If this object represents a feature supported by a device, this is the maximum version of this feature supported by the device.

[Android.Runtime.Register("version", ApiSince=24)]
public int Version { get; set; }
[<Android.Runtime.Register("version", ApiSince=24)>]
member this.Version : int with get, set

Property Value

Attributes

Remarks

If this object represents a feature supported by a device, this is the maximum version of this feature supported by the device. The device implicitly supports all older versions of this feature.

If this object represents a feature requested by an app, this is the minimum version of the feature required by the app.

When a feature version is undefined by a device, it's assumed to be version 0.

Java documentation for android.content.pm.FeatureInfo.version.

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