onResult

abstract fun onResult(isDoNotDisturbOn: Boolean, startHour: Int, startMin: Int, endHour: Int, endMin: Int, timezone: String?, e: SendbirdException?)

A callback for when Do-not-disturb option is got.

Since

3.0.2

Parameters

isDoNotDisturbOn

Flag for the option is on or off.

startHour

The option starting hour (0~23).

startMin

The option starting minute (0~59).

endHour

The option ending hour (0~23).

endMin

The option ending minute (0~59).

timezone

Timezone.

e

null if no error.