Class Notification.AccessorySet
Definition
- Namespace:
- Tizen.Applications.Notifications
- Assembly:
- Tizen.Applications.Notification.dll
Class for notification AccessorySet, which includes vibration, LED, and sound option.
C#Copypublic sealed class Notification.AccessorySet : Notification.MakerBase
- Inheritance
-
objectNotification.Tizen.Applications.Notifications.Notification.MakerBaseNotification.AccessorySet
Properties
CanVibrate
Gets or sets a value indicating whether vibration is operated. Default is false.
Declaration
C#Copypublic bool CanVibrate { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Declaration
C#Copypublic Color LedColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
Remarks
If you want to set LedColor, you should always set LedOption as AccessoryOption.Custom, otherwise, it may operate default LED color.
LedOffMillisecond
Gets or sets the off time so that it looks like the device's LED is blinking.
Declaration
C#Copypublic int LedOffMillisecond { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
The rate is specified in terms of the number of Milliseconds to be off. You must set the on and off times at the same time. Otherwise, it may not operate normally.
LedOnMillisecond
Gets or sets the on time so that it looks like the device's LED is blinking.
Declaration
C#Copypublic int LedOnMillisecond { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Default value of LedOnMillisecond is 0. The rate is specified in terms of the number of Milliseconds to be on. You must set the on and off times at the same time. Otherwise, it may not operate normally.
Declaration
C#Copypublic AccessoryOption LedOption { get; set; }
Property Value
| Type | Description |
|---|---|
| AccessoryOption |
Remarks
If you set AccessoryOption.Custom and not set LedColor, the LED will show default color.
Declaration
C#Copypublic AccessoryOption SoundOption { get; set; }
Property Value
| Type | Description |
|---|---|
| AccessoryOption |
Remarks
If you set AccessoryOption.Custom, you must the SoundPath. Otherwise, an exception is thrown.
SoundPath
Gets or sets the sound path, It will play on the sound file you set. You should set an absolute path for a sound file.
Declaration
C#Copypublic string SoundPath { get; set; }
Property Value
| Type | Description |
|---|---|
| string |