C# 클래스 SensorbergSDK.Internal.SdkEngine

상속: IDisposable
파일 보기 프로젝트 열기: sensorberg-dev/windows10-sdk 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
FlushHistory ( ) : Task
InitializeAsync ( ) : Task

Initializes the SDK engine.

ProcessDelayedActionsAsync ( ) : Task

Handles delayed beacon actions resolved earlier.

ResolveBeaconAction ( BeaconEventArgs eventArgs ) : Task

Tries to find a beacon action based on the given beacon event arguments.

SdkEngine ( bool createdOnForeground ) : System

Creates a new Engine object.

UpdateCacheAsync ( bool forceUpdate ) : Task

Updates the layout cache.

비공개 메소드들

메소드 설명
CleanDatabaseAsync ( ) : Task

Cleans old entries from database. Called when the UI application is started.

ExecuteActionAsync ( ResolvedAction resolvedAction, string beaconPid, BeaconEventType beaconEventType, string location ) : Task

Executes the given action, stores the event in event history and notifies the listeners.

OnBeaconActionResolvedAsync ( object sender, ResolvedActionsEventArgs e ) : void
OnFlushHistoryTimerTimeoutAsync ( object state ) : void
OnLayoutUpdatedAsync ( object state ) : void
OnProcessDelayedActionsTimerTimeoutAsync ( object state ) : void
OnResolverFailedToResolveActions ( object sender, string e ) : void

This method simply forwards the event to listeners.

OnSettingsUpdated ( object sender, SettingsEventArgs settingsEventArgs ) : void
OnUpdateVisibilityTimerTimeout ( object state ) : void
ResetProcessDelayedActionsTimer ( DateTimeOffset nextDueTime ) : void

(Re)sets the process delayed actions timer to trigger based on the given due time.

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

FlushHistory() 공개 메소드

public FlushHistory ( ) : Task
리턴 Task

InitializeAsync() 공개 메소드

Initializes the SDK engine.
public InitializeAsync ( ) : Task
리턴 Task

ProcessDelayedActionsAsync() 공개 메소드

Handles delayed beacon actions resolved earlier.
public ProcessDelayedActionsAsync ( ) : Task
리턴 Task

ResolveBeaconAction() 공개 메소드

Tries to find a beacon action based on the given beacon event arguments.
public ResolveBeaconAction ( BeaconEventArgs eventArgs ) : Task
eventArgs BeaconEventArgs The arguments of a beacon event.
리턴 Task

SdkEngine() 공개 메소드

Creates a new Engine object.
public SdkEngine ( bool createdOnForeground ) : System
createdOnForeground bool bool for indication if the engine works on foreground.
리턴 System

UpdateCacheAsync() 공개 메소드

Updates the layout cache.
public UpdateCacheAsync ( bool forceUpdate ) : Task
forceUpdate bool
리턴 Task