Udostępnij za pośrednictwem


AppWidgetProviderInfo.UpdatePeriodMillis Property

Definition

How often, in milliseconds, that this AppWidget wants to be updated.

[Android.Runtime.Register("updatePeriodMillis")]
public int UpdatePeriodMillis { get; set; }
[<Android.Runtime.Register("updatePeriodMillis")>]
member this.UpdatePeriodMillis : int with get, set

Property Value

Attributes

Remarks

How often, in milliseconds, that this AppWidget wants to be updated. The AppWidget manager may place a limit on how often a AppWidget is updated.

This field corresponds to the android:updatePeriodMillis attribute in the AppWidget meta-data file.

<p class="note"><b>Note:</b> Updates requested with updatePeriodMillis will not be delivered more than once every 30 minutes.

Java documentation for android.appwidget.AppWidgetProviderInfo.updatePeriodMillis.

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