Chat SDK for Android v1.2.1
agora java chat SDK
Public Member Functions | List of all members
io.agora.chat.SilentModeTime Class Reference

Inherits io.agora.chat.EMBase< T >.

Public Member Functions

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

Detailed Description

For offline push DND time class, you need to create the start time and end time together.

Member Function Documentation

◆ getHour()

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

Get the number of hours in 24 hour format.

Returns
Number of hours.

◆ getMinute()

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

Get minutes.

Returns
minutes.

◆ setHour()

void io.agora.chat.SilentModeTime.setHour ( int  hour)

Set the number of hours to 24 hours.

Parameters
hourHours.

◆ setMinute()

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

Set minutes.

Parameters
minuteMinutes.

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