SMS
Leave feedback
On this page
Inheritance: java.lang.Object
public class SMS
Represents SMS short message service details.
| Constructor | Description |
|---|---|
| SMS() | Creates VCard instance with default values. |
| Method | Description |
|---|---|
| getNumber() | Gets or sets SMS receipient phone number. |
| setNumber(String value) | Gets or sets SMS receipient phone number. |
| getMessage() | Gets or sets SMS message content. |
| setMessage(String value) | Gets or sets SMS message content. |
| equals(Object obj) | Overwrites Equals method to compare SMS properties |
| hashCode() | Overrides GetHashCode method |
public SMS()
Creates VCard instance with default values.
public final String getNumber()
Gets or sets SMS receipient phone number.
Returns: java.lang.String
public final void setNumber(String value)
Gets or sets SMS receipient phone number.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
public final String getMessage()
Gets or sets SMS message content.
Returns: java.lang.String
public final void setMessage(String value)
Gets or sets SMS message content.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
public boolean equals(Object obj)
Overwrites Equals method to compare SMS properties
Parameters:
| Parameter | Type | Description |
|---|---|---|
| obj | java.lang.Object | SMS object to compare with. |
Returns: boolean - Returns true if passed SMS object has same type and all its properties are equal to this instance properties.
public int hashCode()
Overrides GetHashCode method
Returns: int - VCard hash code
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.