Toast.AddCallback(Toast+Callback) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.