다음을 통해 공유


Toast.AddCallback(Toast+Callback) Method

Definition

Adds a callback to be notified when the toast is shown or hidden.

[Android.Runtime.Register("addCallback", "(Landroid/widget/Toast$Callback;)V", "GetAddCallback_Landroid_widget_Toast_Callback_Handler", ApiSince=30)]
public virtual void AddCallback (Android.Widget.Toast.Callback callback);
[<Android.Runtime.Register("addCallback", "(Landroid/widget/Toast$Callback;)V", "GetAddCallback_Landroid_widget_Toast_Callback_Handler", ApiSince=30)>]
abstract member AddCallback : Android.Widget.Toast.Callback -> unit
override this.AddCallback : Android.Widget.Toast.Callback -> unit

Parameters

callback
Toast.Callback
Attributes

Remarks

Java documentation for android.widget.Toast.addCallback(android.widget.Callback).

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