C# Class AcManager.Controls.Helpers.Toast

Show file Open project: gro-ove/actools

Public Properties

Property Type Description
OptionFallbackMode bool

Public Methods

Method Description
SetDefaultAction ( System.Action defaultAction ) : void
Show ( string title, string message, System.Action click = null ) : void

Show a toast.

Show ( string title, string message, [ icon, System.Action click = null ) : void

Show a toast.

Private Methods

Method Description
ShowFallback ( string title, string message, [ icon, System.Action click ) : void

Method Details

SetDefaultAction() public static method

public static SetDefaultAction ( System.Action defaultAction ) : void
defaultAction System.Action
return void

Show() public static method

Show a toast.
public static Show ( string title, string message, System.Action click = null ) : void
title string Ex.: “Something Happened”
message string Ex.: “This and that. Without dot in the end”
click System.Action Click action
return void

Show() public static method

Show a toast.
public static Show ( string title, string message, [ icon, System.Action click = null ) : void
title string Ex.: “Something Happened”
message string Ex.: “This and that. Without dot in the end”
icon [ Uri to some icon
click System.Action Click action
return void

Property Details

OptionFallbackMode public static property

public static bool OptionFallbackMode
return bool