C# Class SensorbergSDK.Internal.Data.Layout

显示文件 Open project: sensorberg-dev/windows10-sdk Class Usage Examples

Private Properties

Property Type Description
ResolveMaxAge void

Public Methods

Method Description
ContainsOtherThanSensorbergBeaconId1S ( ) : bool

Checks if the beacon ID1s in this layout contain other than those of Sensorberg beacons.

FromJson ( string headers, DateTimeOffset layoutRetrievedTime ) : void

Constructs a Layout instance from the given JSON data.

GetResolvedActionsForPidAndEvent ( Request request ) : IList

Resolves the beacon actions associated with the given PID and event type.

Layout ( ) : System

Private Methods

Method Description
ResolveMaxAge ( string headers, DateTimeOffset layoutRetrievedTime ) : void

Method Details

ContainsOtherThanSensorbergBeaconId1S() public method

Checks if the beacon ID1s in this layout contain other than those of Sensorberg beacons.
public ContainsOtherThanSensorbergBeaconId1S ( ) : bool
return bool

FromJson() public method

Constructs a Layout instance from the given JSON data.
public FromJson ( string headers, DateTimeOffset layoutRetrievedTime ) : void
headers string String repersentation of the header fields.
layoutRetrievedTime DateTimeOffset Timestamp of receiving the layout.
return void

GetResolvedActionsForPidAndEvent() public method

Resolves the beacon actions associated with the given PID and event type.
public GetResolvedActionsForPidAndEvent ( Request request ) : IList
request SensorbergSDK.Internal.Transport.Request
return IList

Layout() public method

public Layout ( ) : System
return System