Chat SDK for Android v1.3.2
agora java chat SDK
 
Loading...
Searching...
No Matches
io.agora.chat.SilentModeTime Class Reference

Public Member Functions

void setHour (int hour)
 
int getHour ()
 
void setMinute (int minute)
 
int getMinute ()
 

Detailed Description

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.

Member Function Documentation

◆ getHour()

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.

Returns
The start or end hour of the do-not-disturb time frame.

◆ getMinute()

int io.agora.chat.SilentModeTime.getMinute ( )

Gets the start or end minute of the do-not-disturb time frame.

Returns
The start or end minute of the do-not-disturb time frame.

◆ setHour()

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].

Parameters
hourThe start or end hour of the do-not-disturb time frame.

◆ setMinute()

void io.agora.chat.SilentModeTime.setMinute ( int minute)

Sets the start or end minute of the do-not-disturb time frame.

Parameters
minuteThe start or end minute of the do-not-disturb time frame.

The documentation for this class was generated from the following file: