Discuss this help topic in SecureBlackbox Forum

TElTarReader.OnUserActionNeeded

TElTarReader     See also     


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


This event is fired when user action is needed.

Declaration

[C#]
    event TSBTarUserActionNeededEvent OnUserActionNeeded;
    delegate void TSBTarUserActionNeededEvent(Object Sender, int ForEvent, string Description, Object Param, ref int UserAction);

[VB.NET]
    Event OnUserActionNeeded As TSBTarUserActionNeededEvent
    Delegate Sub TSBTarUserActionNeededEvent(ByVal Sender As Object, ByVal ForEvent As Integer, ByVal Description As String, ByVal Param As Object, ByRef UserAction As Integer)

[Pascal]
    property OnUserActionNeeded : TSBTarUserActionNeededEvent;
    TSBTarUserActionNeededEvent = procedure(Sender : TObject; ForEvent : integer; const Description : string; Param : pointer; var UserAction : integer) of object;

[C++]
    void get_OnUserActionNeeded(TSBTarUserActionNeededEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnUserActionNeeded(TSBTarUserActionNeededEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBTarUserActionNeededEvent)(void * _ObjectData, TObjectHandle Sender, int32_t ForEvent, const char * pcDescription, int32_t szDescription, void * Param, int32_t &UserAction);

[PHP]
    TSBTarUserActionNeededEvent|callable|NULL get_OnUserActionNeeded()
    void set_OnUserActionNeeded(TSBTarUserActionNeededEvent|callable|NULL $Value)
    callable TSBTarUserActionNeededEvent(TObject $Sender, integer $ForEvent, string $Description, TSBPointer|NULL $Param, integer &$UserAction)

[Java]
    TSBTarUserActionNeededEvent getOnUserActionNeeded();
    void setOnUserActionNeeded(TSBTarUserActionNeededEvent Value);
    TSBTarUserActionNeededEvent.Callback OnUserActionNeeded = new TSBTarUserActionNeededEvent.Callback() {
        public void TSBTarUserActionNeededEventCallback(TObject Sender, int ForEvent, String Description, TObject Param, TSBInteger UserAction) {
            //...
        }
    }

Parameters

  • ForEvent - the event for which the action is needed.
  • Description - event description.
  • Param - reference to the object which contains additional information about the archive entry.
  • UserAction - action chosen by the user.
  • pcDescription - event description.
  • szDescription - the length of pcDescription.

Possible events:

Possible user actions:

Description

    This event is fired by TElTarReader when it needs user interaction. User may ignore event, abort extraction or force TElTarReader to retry extraction again.

See also:     OnProgress    

Discuss this help topic in SecureBlackbox Forum