Code example for DialogInterface

Methods: canceldismiss