다음을 통해 공유


Window.SetFeatureInt(WindowFeatures, Int32) Method

Definition

Set the integer value for a feature.

[Android.Runtime.Register("setFeatureInt", "(II)V", "GetSetFeatureInt_IIHandler")]
public abstract void SetFeatureInt (Android.Views.WindowFeatures featureId, int value);
[<Android.Runtime.Register("setFeatureInt", "(II)V", "GetSetFeatureInt_IIHandler")>]
abstract member SetFeatureInt : Android.Views.WindowFeatures * int -> unit

Parameters

featureId
WindowFeatures

The desired feature to change. Features are constants defined by Window.

value
Int32

The value for the feature. The interpretation of this value is feature-specific.

Attributes

Remarks

Set the integer value for a feature. The range of the value depends on the feature being set. For #FEATURE_PROGRESS, it should go from 0 to 10000. At 10000 the progress is complete and the indicator hidden.

Java documentation for android.view.Window.setFeatureInt(int, int).

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