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 io.agora.chat.SilentModeTime.getHour | ( | ) |
Gets the start or end hour of the do-not-disturb time frame.
The time is based on a 24-hour clock.
| int io.agora.chat.SilentModeTime.getMinute | ( | ) |
Gets the start or end minute of the do-not-disturb time frame.
| void io.agora.chat.SilentModeTime.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 io.agora.chat.SilentModeTime.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. |