hyphenate_SDK4.0 4.8.0
hyphenate java IM SDK
Public Member Functions | List of all members
com.hyphenate.chat.EMSilentModeTime Class Reference

Inherits com.hyphenate.chat.EMBase< T >.

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

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

◆ getMinute()

int com.hyphenate.chat.EMSilentModeTime.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 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].

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

◆ setMinute()

void com.hyphenate.chat.EMSilentModeTime.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: