Class CommonToast
Inheritance
System.Object
CommonToast
Assembly: PDFViewCtrlTools.dll
public class CommonToast : Object
Constructors
Declaration
protected CommonToast(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type |
Name |
Description |
System.IntPtr |
javaReference |
|
Android.Runtime.JniHandleOwnership |
transfer |
|
Properties
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Type |
Description |
Java.Interop.JniPeerMembers |
|
Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
Type |
Description |
System.IntPtr |
|
Declaration
protected override Type ThresholdType { get; }
Property Value
Type |
Description |
System.Type |
|
Methods
Declaration
public virtual void Cancel()
Declaration
public virtual void Show()
Declaration
public virtual void Show(bool cancelCurrent)
Parameters
Type |
Name |
Description |
System.Boolean |
cancelCurrent |
|
ShowText(Context, ICharSequence)
Declaration
public static void ShowText(Context context, ICharSequence text)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Java.Lang.ICharSequence |
text |
|
ShowText(Context, ICharSequence, Int32)
Declaration
public static void ShowText(Context context, ICharSequence text, int duration)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Java.Lang.ICharSequence |
text |
|
System.Int32 |
duration |
|
ShowText(Context, ICharSequence, Int32, Int32, Int32, Int32)
Declaration
public static void ShowText(Context context, ICharSequence text, int duration, int gravity, int xOffset, int yOffset)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Java.Lang.ICharSequence |
text |
|
System.Int32 |
duration |
|
System.Int32 |
gravity |
|
System.Int32 |
xOffset |
|
System.Int32 |
yOffset |
|
ShowText(Context, Int32)
Declaration
public static void ShowText(Context context, int resId)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.Int32 |
resId |
|
ShowText(Context, Int32, Int32)
Declaration
public static void ShowText(Context context, int resId, int duration)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.Int32 |
resId |
|
System.Int32 |
duration |
|
ShowText(Context, Int32, Int32, Int32, Int32, Int32)
Declaration
public static void ShowText(Context context, int resId, int duration, int gravity, int xOffset, int yOffset)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.Int32 |
resId |
|
System.Int32 |
duration |
|
System.Int32 |
gravity |
|
System.Int32 |
xOffset |
|
System.Int32 |
yOffset |
|
ShowText(Context, String)
Declaration
public static void ShowText(Context context, string text)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.String |
text |
|
ShowText(Context, String, Int32)
Declaration
public static void ShowText(Context context, string text, int duration)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.String |
text |
|
System.Int32 |
duration |
|
ShowText(Context, String, Int32, Int32, Int32, Int32)
Declaration
public static void ShowText(Context context, string text, int duration, int gravity, int xOffset, int yOffset)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.String |
text |
|
System.Int32 |
duration |
|
System.Int32 |
gravity |
|
System.Int32 |
xOffset |
|
System.Int32 |
yOffset |
|