C# 클래스 SensorbergSDK.Internal.Data.EventHistory

Event storage. It stores all past beacon events and actions associated with the events.
파일 보기 프로젝트 열기: sensorberg-dev/windows10-sdk

공개 메소드들

메소드 설명
CheckSendOnlyOnceAsync ( ResolvedAction resolvedAction ) : bool

If sendOnlyOnce is true for resolved action, fuction will check from the history if the action is already presented for the user.

EventHistory ( ) : System
FlushHistoryAsync ( ) : System.Threading.Tasks.Task

Checks if there are new events or actions in the history and sends them to the server.

SaveBeaconEventAsync ( BeaconEventArgs eventArgs, string location ) : System.Threading.Tasks.Task

Stores a beacon event to the database.

SaveExecutedResolvedActionAsync ( BeaconAction beaconAction, string beaconPid, BeaconEventType beaconEventType, string location ) : System.Threading.Tasks.Task

For convenience.

SaveExecutedResolvedActionAsync ( ResolvedActionsEventArgs eventArgs, BeaconAction beaconAction ) : System.Threading.Tasks.Task

Stores a resolved and executed action to the database.

ShouldSupressAsync ( ResolvedAction resolvedAction ) : bool

If supressionTime is set for the action, fuction will check from the history if the action is already presented during the supression time.

메소드 상세

CheckSendOnlyOnceAsync() 공개 메소드

If sendOnlyOnce is true for resolved action, fuction will check from the history if the action is already presented for the user.
public CheckSendOnlyOnceAsync ( ResolvedAction resolvedAction ) : bool
resolvedAction SensorbergSDK.Internal.Transport.ResolvedAction
리턴 bool

EventHistory() 공개 메소드

public EventHistory ( ) : System
리턴 System

FlushHistoryAsync() 공개 메소드

Checks if there are new events or actions in the history and sends them to the server.
public FlushHistoryAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

SaveBeaconEventAsync() 공개 메소드

Stores a beacon event to the database.
public SaveBeaconEventAsync ( BeaconEventArgs eventArgs, string location ) : System.Threading.Tasks.Task
eventArgs BeaconEventArgs
location string
리턴 System.Threading.Tasks.Task

SaveExecutedResolvedActionAsync() 공개 메소드

For convenience.
public SaveExecutedResolvedActionAsync ( BeaconAction beaconAction, string beaconPid, BeaconEventType beaconEventType, string location ) : System.Threading.Tasks.Task
beaconAction BeaconAction
beaconPid string
beaconEventType BeaconEventType
location string
리턴 System.Threading.Tasks.Task

SaveExecutedResolvedActionAsync() 공개 메소드

Stores a resolved and executed action to the database.
public SaveExecutedResolvedActionAsync ( ResolvedActionsEventArgs eventArgs, BeaconAction beaconAction ) : System.Threading.Tasks.Task
eventArgs ResolvedActionsEventArgs
beaconAction BeaconAction
리턴 System.Threading.Tasks.Task

ShouldSupressAsync() 공개 메소드

If supressionTime is set for the action, fuction will check from the history if the action is already presented during the supression time.
public ShouldSupressAsync ( ResolvedAction resolvedAction ) : bool
resolvedAction SensorbergSDK.Internal.Transport.ResolvedAction
리턴 bool