Share via


BillAcceptor.RealTimeDataEnabled Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Gets or sets the Boolean value indicating whether data is collected in real time.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride Property RealTimeDataEnabled As Boolean
public abstract bool RealTimeDataEnabled { get; set; }
public:
virtual property bool RealTimeDataEnabled {
    bool get () abstract;
    void set (bool value) abstract;
}
/** @property */
public abstract boolean get_RealTimeDataEnabled ()

/** @property */
public abstract void set_RealTimeDataEnabled (boolean value)
public abstract function get RealTimeDataEnabled () : boolean

public abstract function set RealTimeDataEnabled (value : boolean)

Remarks

If true and CapRealTimeData is true, each fired data event updates the DepositAmount and DepositCounts properties. Otherwise, DepositAmount and DepositCounts are updated with the value of the money collected when FixDeposit is called. Setting RealTimeDataEnabled does not cause any change in system behavior until the next BeginDeposit method is performed. This prevents confusion about what would occur if it were modified between a BeginDeposit - EndDeposit pairing.

This property is initialized to false by the Open method.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

BillAcceptor Class
BillAcceptor Members
Microsoft.PointOfService Namespace
BillAcceptor.CapRealTimeData Property
BillAcceptor.DepositAmount Property
BillAcceptor.DepositCounts Property
BillAcceptor.BeginDeposit Method
BillAcceptor.EndDeposit Method
BillAcceptor.FixDeposit Method