Package io.rong.imlib

Class IRongCoreCallback.GetNotificationQuietHoursCallback

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void onSuccess(String startTime, int spanMinutes) Successfully retrieved the Do Not Disturb time for message notifications.
      final void onSuccess(String s) Callback triggered upon success.
      abstract void onError(IRongCoreEnum.CoreErrorCode coreErrorCode) Error occurred while retrieving the Do Not Disturb time for message notifications.
      • Methods inherited from class io.rong.imlib.IRongCoreCallback.ResultCallback

        onCallback, onFail, onFail
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IRongCoreCallback.GetNotificationQuietHoursCallback

        IRongCoreCallback.GetNotificationQuietHoursCallback()
    • Method Detail

      • onSuccess

         abstract void onSuccess(String startTime, int spanMinutes)

        Successfully retrieved the Do Not Disturb time for message notifications.

        Parameters:
        startTime - The start time in the format HH:MM:SS.
        spanMinutes - The duration in minutes, where 0 <spanMins <1440.
      • onSuccess

         final void onSuccess(String s)

        Callback triggered upon success.

      • onError

         abstract void onError(IRongCoreEnum.CoreErrorCode coreErrorCode)

        Error occurred while retrieving the Do Not Disturb time for message notifications.

        Parameters:
        coreErrorCode - Error code for retrieving the Do Not Disturb time for message notifications.