CallComposerErrorCode Enum

Definition

public enum CallComposerErrorCode
type CallComposerErrorCode = 
Inheritance
CallComposerErrorCode

Fields

Name Value Description
Unknown 0

Indicates that an unknown error was encountered when uploading the call composer picture. Clients that encounter this error should retry the upload.

Android reference for android.telephony.TelephonyManager.CallComposerException.ERROR_UNKNOWN.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

RemoteEndClosed 1

Indicates that the phone process died or otherwise became unavailable while uploading the call composer picture. Clients that encounter this error should retry the upload.

Android reference for android.telephony.TelephonyManager.CallComposerException.ERROR_REMOTE_END_CLOSED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

FileTooLarge 2

Indicates that the file or stream supplied exceeds the size limit defined in TelephonyManager.getMaximumCallComposerPictureSize(). Clients that encounter this error should retry the upload after reducing the size of the picture.

Android reference for android.telephony.TelephonyManager.CallComposerException.ERROR_FILE_TOO_LARGE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

AuthenticationFailed 3

Indicates that the device failed to authenticate with the carrier when uploading the picture. Clients that encounter this error should not retry the upload unless a reboot or radio reset has been performed in the interim.

Android reference for android.telephony.TelephonyManager.CallComposerException.ERROR_AUTHENTICATION_FAILED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

InputClosed 4

Indicates that the InputStream passed to TelephonyManager.uploadCallComposerPicture(InputStream, String, Executor, OutcomeReceiver) was closed. The caller should retry if this error is encountered, and be sure to not close the stream before the callback is called this time.

Android reference for android.telephony.TelephonyManager.CallComposerException.ERROR_INPUT_CLOSED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

IoException 5

Indicates that an IOException was encountered while reading the picture. The offending IOException will be available via getIOException(). Clients should use the contents of the exception to determine whether a retry is warranted.

Android reference for android.telephony.TelephonyManager.CallComposerException.ERROR_IO_EXCEPTION.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

NetworkUnavailable 6

Indicates that the device is currently not connected to a network that's capable of reaching a carrier's RCS servers. Clients should prompt the user to remedy the issue by moving to an area with better signal, by connecting to a different network, or to retry at another time.

Android reference for android.telephony.TelephonyManager.CallComposerException.ERROR_NETWORK_UNAVAILABLE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to