ToastLength ToastLength Enum

Definition

Enumerates values returned by the Duration, Long, and Short members and taken as a parameter of the F:Android.Widget.Toast.MakeText, F:Android.Widget.Toast.MakeText, and F:Android.Widget.Toast.MakeText members.

public enum ToastLength
type ToastLength = 
Inheritance
ToastLengthToastLength

Fields

Long Long 1

Show the view or text notification for a long period of time.

Short Short 0

Show the view or text notification for a short period of time.

Remarks

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