C# Class SensorbergSDK.Internal.Transport.LayoutManager

Manages the layouts and encapsulates both retrieving fresh layouts from the web and caching them.
Inheritance: ILayoutManager
Mostrar archivo Open project: sensorberg-dev/windows10-sdk

Public Methods

Method Description
CreateHashOfBeaconId1SInLayout ( Layout layout ) : string

Creates a hash string based on the beacon ID1s in the given layout.

GetAction ( string uuid ) : ResolvedAction
InvalidateLayout ( ) : System.Threading.Tasks.Task

Invalidates both the current and cached layout.

VerifyLayoutAsync ( bool forceUpdate = false ) : Task

Makes sure the layout is up-to-date.

Method Details

CreateHashOfBeaconId1SInLayout() public static method

Creates a hash string based on the beacon ID1s in the given layout.
public static CreateHashOfBeaconId1SInLayout ( Layout layout ) : string
layout SensorbergSDK.Internal.Data.Layout The layout containing the beacon ID1s.
return string

GetAction() public method

public GetAction ( string uuid ) : ResolvedAction
uuid string
return ResolvedAction

InvalidateLayout() public method

Invalidates both the current and cached layout.
public InvalidateLayout ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

VerifyLayoutAsync() public method

Makes sure the layout is up-to-date.
public VerifyLayoutAsync ( bool forceUpdate = false ) : Task
forceUpdate bool If true, will update the layout even if valid.
return Task