Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
Android Documentation
AlertCompletionListener

Interface AlertCompletionListener

Package
com.smartdevicelink.managers

Methods

onComplete( boolean success, Integer tryAgainTime )

Returns whether an Alert operation was successful or not along with tryAgainTime

public void onComplete(boolean success,Integer tryAgainTime)

Method Parameters

success
- Boolean that is True if Operation was a success, False otherwise.
tryAgainTime
- Amount of time (in seconds) that an app must wait before resending an alert.
View on GitHub.com
Previous Section Next Section