次の方法で共有


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
ToastLength

Fields

Name Value Description
Short 0

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

Long 1

Show the view or text notification for a long 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