Property | Type | Description | |
---|---|---|---|
DemoApiKey | string |
Method | Description | |
---|---|---|
Deinitialize ( bool stopScanner ) : void |
De-initializes the SDK.
|
|
Dispose ( ) : void |
Uninitialize the complete SDK.
|
|
FlushHistory ( ) : Task |
Sends all pending history elements.
|
|
InitializeAsync ( |
Initializes the SDK using the given configuration. The scanner can be used separately, but the resolving beacon actions cannot be done unless the SDK is initialized. If background task is enabled, this method check if there are updates for the background task filters available and updates them if so.
|
|
Instance ( ) : |
Returns the singleton instance of this class.
|
|
InvalidateCacheAsync ( ) : Task |
Invalidates the current layout cache.
|
|
LaunchBluetoothSettingsAsync ( ) : Task |
Utility method for launching bluetooth settings on device.
|
|
OnApplicationVisibilityChanged ( object sender, |
Sets the SDK preferences based on the application visibility. Hook this event handler to Window.Current.VisibilityChanged.
|
|
RegisterBackgroundTaskAsync ( ) : Task |
Registers the background task or in the case of a pending background filter update, re-registers the task.
|
|
StartScanner ( ) : void |
Starts the scanner and starts to listen to beacon events.
|
|
StopScanner ( ) : void |
Stops the scanner and stops listening to beacon events.
|
|
UnregisterBackgroundTask ( ) : void |
Unregisters the background task.
|
|
UpdateBackgroundTaskIfNeededAsync ( ) : Task |
Method | Description | |
---|---|---|
InitializeAsync ( string apiKey, string timerClassName = null, string advertisementClassName = null, string uuidSpace = Constants.SensorbergUuidSpace, bool startScanning = true ) : Task | ||
InitializeSettingsAsync ( ) : Task | ||
Instance ( ushort manufacturerId, ushort beaconCode ) : |
||
OnBeaconEventAsync ( object sender, |
Called, when scanner sends a beacon event. If the background task is registered, it will resolve the actions and we do nothing here.
|
|
OnScannerStatusChanged ( object sender, ScannerStatus e ) : void | ||
OnSettingsUpdated ( object sender, SettingsEventArgs settingsEventArgs ) : void | ||
SDKManager ( ) : System |
Constructor.
|
|
StartScannerTimerCallback ( object state ) : void |
public Deinitialize ( bool stopScanner ) : void | ||
stopScanner | bool | If true, will stop scanner if running. |
return | void |
public InitializeAsync ( |
||
configuration | ||
return | Task |
public LaunchBluetoothSettingsAsync ( ) : Task | ||
return | Task |
public OnApplicationVisibilityChanged ( object sender, |
||
sender | object | |
e | ||
return | void |
public RegisterBackgroundTaskAsync ( ) : Task |
||
return | Task |
public UpdateBackgroundTaskIfNeededAsync ( ) : Task |
||
return | Task |