Retrieves the encoded representation of the address. The encoding scheme depends on the type of address.
The encoded address as a hexadecimal string
Indicates whether the current instance represents an address.
True if the instance represents an address; otherwise, false
Retrieves the phone number associated with the address.
The phone number associated with the address
Retrieves the size of the encoded address. The size is calculated based on the encoding scheme used.
The size of the encoded address
Retrieves the offset for the SCA in the PDU. The offset indicates the position of the SCA within the PDU.
The offset for the SCA in the PDU
Sets the phone number associated with the address.
This method allows setting the phone number for the address. It also performs encoding based on the address type and detects the type of address if requested.
The phone number to set
Flag indicating whether to detect the address type
Flag indicating whether the address is a service center address
The instance of this SCA, allowing for method chaining
Converts the SCA instance to a string representation.
This method converts the SCA instance to its string representation suitable for inclusion in the PDU.
The string representation of the SCA
Static
mapMaps and decodes a hexadecimal letter to its corresponding character. This method decodes a hexadecimal letter back to its original character value.
The hexadecimal letter to decode
The decoded character
Static
mapMaps and encodes a character to its corresponding hexadecimal representation. This method encodes a character to its hexadecimal representation.
The character to encode
The encoded hexadecimal representation
Represents the Service Centre Address (SCA) of an SMS message.
The address of the SMSC responsible for the delivery of the message. It is crucial for routing the SMS through the correct service center to reach the intended recipient.