Table of Contents

Class BeepContent

Namespace
Geotab.Checkmate.ObjectModel
Assembly
Geotab.Checkmate.ObjectModel.dll

Message content to make the device beep.

public class BeepContent : DataToComponentContent, IBinaryPayload
Inheritance
BeepContent
Implements
Inherited Members

Constructors

BeepContent()

Initializes a new instance of the BeepContent class. Message content to make the device beep. Will cause the device to make one long beep.

public BeepContent()

BeepContent(int, int, int, Notification?)

Initializes a new instance of the BeepContent class. Message content to make the device beep.

public BeepContent(int numberOfBeeps, int beepDuration, int timeBetweenBeeps, Notification? notification = null)

Parameters

numberOfBeeps int

The number of beeps.

beepDuration int

The length of each beep (in multiples of 100ms).

timeBetweenBeeps int

The time between beeps (in multiples of 100ms).

notification Notification

The notification that created this Beep.

Properties

BeepDuration

Gets or sets the length of each beep (in multiples of 100ms).

public int BeepDuration { get; set; }

Property Value

int

The length of each beep (in multiples of 100ms).

Notification

Gets or sets the Notification.

public Notification? Notification { get; set; }

Property Value

Notification

The Notification with only Id as a parameter.

NumberOfBeeps

Gets or sets the number of beeps.

public int NumberOfBeeps { get; set; }

Property Value

int

The number of beeps.

TimeBetweenBeeps

Gets or sets the time between beeps (in multiples of 100ms).

public int TimeBetweenBeeps { get; set; }

Property Value

int

The time between beeps (in multiples of 100ms).

Methods

Clone()

Create a copy.

public override IBinaryPayload Clone()

Returns

IBinaryPayload

a clone.

GetData()

Gets the data for the payload.

protected override byte[] GetData()

Returns

byte[]

the data.