Discuss this help topic in SecureBlackbox Forum

TElIMAPClient.OnIdle

TElIMAPClient     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Reports an update to the mailbox state received from the server.

Declaration

[C#]
    event TSBIMAPIdleEvent OnIdle;
    delegate void TSBIMAPIdleEvent(Object Sender, TElIMAPIdleUpdate Update);

[VB.NET]
    Event OnIdle As TSBIMAPIdleEvent
    Delegate Sub TSBIMAPIdleEvent(ByVal Sender As Object, ByVal Update As TElIMAPIdleUpdate)

[Pascal]
    event OnIdle : TSBIMAPIdleEvent delegate FOnIdle;
    TSBIMAPIdleEvent = procedure(Sender : TObject; Update : TElIMAPIdleUpdate) of object;

[C++]
    void get_OnIdle(TSBIMAPIdleEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnIdle(TSBIMAPIdleEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBIMAPIdleEvent)(void * _ObjectData, TObjectHandle Sender, TElIMAPIdleUpdateHandle Update);

[PHP]
    TSBIMAPIdleEvent|callable|NULL get_OnIdle()
    void set_OnIdle(TSBIMAPIdleEvent|callable|NULL $Value)
    callable TSBIMAPIdleEvent(TObject $Sender, TElIMAPIdleUpdate $Update)

[Java]
    TSBIMAPIdleEvent getOnIdle();
    void setOnIdle(TSBIMAPIdleEvent Value);
    TSBIMAPIdleEvent.Callback OnIdle = new TSBIMAPIdleEvent.Callback() {
        public void TSBIMAPIdleEventCallback(TObject Sender, TElIMAPIdleUpdate Update) {
            //...
        }
    }

Parameters

  • Update - the list of updates since the last mailbox state.

Description

    This event is fired when an update from the server is received in idle mode.

See also:     Idle     IdleDone     IdleActive     IdleAuto     IdleSupported     IdleTimeout    

Discuss this help topic in SecureBlackbox Forum