Toast
Callback
Toast(Context)
Toast(IntPtr, JniHandleOwnership)
Duration
Gravity
HorizontalMargin
JniPeerMembers
ThresholdClass
ThresholdType
VerticalMargin
View
XOffset
YOffset
AddCallback(Callback)
Cancel()
MakeText(Context, ICharSequence, ToastLength)
MakeText(Context, Int32, ToastLength)
MakeText(Context, String, ToastLength)
RemoveCallback(Callback)
SetGravity(GravityFlags, Int32, Int32)
SetMargin(Single, Single)
SetText(ICharSequence)
SetText(Int32)
SetText(String)
Show()
net9.0-android34.0
namespace Android.Widget
{
[Register("android/widget/Toast", DoNotGenerateAcw = true)]
public class Toast : Object
{
public virtual float HorizontalMargin
{
[Register("getHorizontalMargin", "()F", "GetGetHorizontalMarginHandler")]
get;
}
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
Android | 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0 |
Information specific to net9.0-android34.0 | |
Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | The property getter is only supported on the following platforms:
|
- Built-in API
- Package-provided API