Discuss this help topic in SecureBlackbox Forum

TElBZip2Reader.OnUserActionNeeded

TElBZip2Reader     See also     


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


This event is fired when user action is needed.

Declaration

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

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

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

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

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

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

Parameters

  • ForEvent - the event for which the action is needed.
  • Description - event description.
  • 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 TElBZip2Reader when it needs user interaction. User may ignore event, abort extraction or force TElBZip2Reader to retry extraction again.

See also:     OnProgress    

Discuss this help topic in SecureBlackbox Forum