AlarmSettings.fromWire constructor
AlarmSettings.fromWire(
- AlarmSettingsWire wire
Converts from wire datatype.
Implementation
AlarmSettings.fromWire(AlarmSettingsWire wire)
: id = wire.id,
dateTime =
DateTime.fromMillisecondsSinceEpoch(wire.millisecondsSinceEpoch),
assetAudioPath = wire.assetAudioPath,
volumeSettings = VolumeSettings.fromWire(wire.volumeSettings),
notificationSettings =
NotificationSettings.fromWire(wire.notificationSettings),
loopAudio = wire.loopAudio,
vibrate = wire.vibrate,
warningNotificationOnKill = wire.warningNotificationOnKill,
androidFullScreenIntent = wire.androidFullScreenIntent,
allowAlarmOverlap = wire.allowAlarmOverlap,
iOSBackgroundAudio = wire.iOSBackgroundAudio;