/**@class android.app.timezone.Callback @extends java.lang.Object Callback interface for receiving information about an async time zone operation. The methods will be called on your application's main thread. @hide */ var Callback = { /** Indicates that an operation succeeded. */ SUCCESS : "0", /** Indicates an install / uninstall did not fully succeed for an unknown reason. */ ERROR_UNKNOWN_FAILURE : "1", /** Indicates an install failed because of a structural issue with the provided distro, e.g. it wasn't in the right format or the contents were structured incorrectly. */ ERROR_INSTALL_BAD_DISTRO_STRUCTURE : "2", /** Indicates an install failed because of a versioning issue with the provided distro, e.g. it was created for a different version of Android. */ ERROR_INSTALL_BAD_DISTRO_FORMAT_VERSION : "3", /** Indicates an install failed because the rules provided are too old for the device, e.g. the Android device shipped with a newer rules version. */ ERROR_INSTALL_RULES_TOO_OLD : "4", /** Indicates an install failed because the distro contents failed validation. */ ERROR_INSTALL_VALIDATION_ERROR : "5", /**Reports the result of an async time zone operation. */ onFinished : function( ) {}, };