-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added some documentation to the portableAPI:
- Microsoft.Band.Portable - Microsoft.Band.Portable.Notifications
- Loading branch information
1 parent
e895b95
commit ff22bf4
Showing
7 changed files
with
162 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
Microsoft.Band.Portable/Microsoft.Band.Portable/Notifications/MessageFlags.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,17 @@ | ||
namespace Microsoft.Band.Portable.Notifications | ||
{ | ||
/// <summary> | ||
/// Represents flags that control how a message is sent to a Band device. | ||
/// </summary> | ||
public enum MessageFlags | ||
{ | ||
/// <summary> | ||
/// Use the default message style. | ||
/// </summary> | ||
None, | ||
/// <summary> | ||
/// Show dialog when sending a message. | ||
/// </summary> | ||
ShowDialog | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
Microsoft.Band.Portable/Microsoft.Band.Portable/Notifications/VibrationType.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,45 @@ | ||
namespace Microsoft.Band.Portable.Notifications | ||
{ | ||
/// <summary> | ||
/// Represents a type of vibration that can be sent to a Band device. | ||
/// </summary> | ||
public enum VibrationType | ||
{ | ||
/// <summary> | ||
/// The ramp down vibration type. | ||
/// </summary> | ||
RampDown, | ||
/// <summary> | ||
/// The ramp up vibration type. | ||
/// </summary> | ||
RampUp, | ||
/// <summary> | ||
/// The notification one-tone vibration type. | ||
/// </summary> | ||
NotificationOneTone, | ||
/// <summary> | ||
/// The notification two-tone vibration type. | ||
/// </summary> | ||
NotificationTwoTone, | ||
/// <summary> | ||
/// The notification alarm vibration type. | ||
/// </summary> | ||
NotificationAlarm, | ||
/// <summary> | ||
/// The notification timer vibration type. | ||
/// </summary> | ||
NotificationTimer, | ||
/// <summary> | ||
/// The one-tone high vibration type. | ||
/// </summary> | ||
OneToneHigh, | ||
/// <summary> | ||
/// The three-tone high vibration type. | ||
/// </summary> | ||
ThreeToneHigh, | ||
/// <summary> | ||
/// The two-tone high vibration type. | ||
/// </summary> | ||
TwoToneHigh | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
Microsoft.Band.Portable/Microsoft.Band.Portable/UserConsent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
namespace Microsoft.Band.Portable | ||
{ | ||
/// <summary> | ||
/// Represents the result of a request for user consent. | ||
/// </summary> | ||
public enum UserConsent | ||
{ | ||
/// <summary> | ||
/// The user declined consent. | ||
/// </summary> | ||
Declined, | ||
/// <summary> | ||
/// The user granted consent. | ||
/// </summary> | ||
Granted, | ||
/// <summary> | ||
/// The user has not yet reponded to a request. | ||
/// </summary> | ||
Unspecified | ||
} | ||
} |