Add more IntDef prefixes for auto-documenting.
Test: builds, boots Bug: 70177949 Exempt-From-Owner-Approval: annotation-only changes Change-Id: I76dde6054e06f52240bd4b1a0f196dcb74623608
This commit is contained in:
@@ -80,8 +80,15 @@ public class TextToSpeech {
|
||||
public static final int STOPPED = -2;
|
||||
|
||||
/** @hide */
|
||||
@IntDef({ERROR_SYNTHESIS, ERROR_SERVICE, ERROR_OUTPUT, ERROR_NETWORK, ERROR_NETWORK_TIMEOUT,
|
||||
ERROR_INVALID_REQUEST, ERROR_NOT_INSTALLED_YET})
|
||||
@IntDef(prefix = { "ERROR_" }, value = {
|
||||
ERROR_SYNTHESIS,
|
||||
ERROR_SERVICE,
|
||||
ERROR_OUTPUT,
|
||||
ERROR_NETWORK,
|
||||
ERROR_NETWORK_TIMEOUT,
|
||||
ERROR_INVALID_REQUEST,
|
||||
ERROR_NOT_INSTALLED_YET
|
||||
})
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
public @interface Error {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user