Partager via


AlarmClock.ExtraLength Field

Definition

Bundle extra: The length of the timer in seconds.

[Android.Runtime.Register("EXTRA_LENGTH")]
public const string ExtraLength;
[<Android.Runtime.Register("EXTRA_LENGTH")>]
val mutable ExtraLength : string

Field Value

Attributes

Remarks

Bundle extra: The length of the timer in seconds.

Used by #ACTION_SET_TIMER.

This extra is optional. If not provided, an implementation should open an activity that allows a user to set a timer with user provided length.

The value is an Integer and ranges from 1 to 86400 (24 hours).

Java documentation for android.provider.AlarmClock.EXTRA_LENGTH.

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

See also