共用方式為


PeriodicTimerSourceInfo interface

Periodic timer event source.

Properties

schedule

Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds.

startTime

The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time.

topic

Topic where periodic events are published to IoT device.

Property Details

schedule

Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds.

schedule: string

Property Value

string

startTime

The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time.

startTime: Date

Property Value

Date

topic

Topic where periodic events are published to IoT device.

topic?: string

Property Value

string