hyphenate_SDK4.0 4.8.0
hyphenate java IM SDK
|
Inherits com.hyphenate.chat.EMBase< T >.
Public Member Functions | |
void | setHour (int hour) |
int | getHour () |
void | setMinute (int minute) |
int | getMinute () |
The do-not-disturb time class.
For the do-not-disturb time frame, you need to set both the start time and end time of the period.
int com.hyphenate.chat.EMSilentModeTime.getHour | ( | ) |
Gets the start or end hour of the do-not-disturb time frame.
The time is based on a 24-hour clock.
int com.hyphenate.chat.EMSilentModeTime.getMinute | ( | ) |
Gets the start or end minute of the do-not-disturb time frame.
void com.hyphenate.chat.EMSilentModeTime.setHour | ( | int | hour | ) |
Sets the start or end hour of the do-not-disturb time frame.
The time is based on a 24-hour clock. The value range is [0,23].
hour | The start or end hour of the do-not-disturb time frame. |
void com.hyphenate.chat.EMSilentModeTime.setMinute | ( | int | minute | ) |
Sets the start or end minute of the do-not-disturb time frame.
minute | The start or end minute of the do-not-disturb time frame. |