/// <summary>
/// An enum of screen mode.
/// </summary>
- public enum ScreenModeType {
+ public enum ScreenMode {
/// <summary>
/// The mode which turns the screen off after a timeout.
/// </summary>
/// <summary>
/// An enum of notification window's priority level.
/// </summary>
- public enum NotificationLevelType {
+ public enum NotificationLevel {
/// <summary>
/// No notification level.<br>
/// Default level.<br>
/// </summary>
Dialog
}
-}
\ No newline at end of file
+}
/// </summary>
/// <param name="level">The notification window level.</param>
/// <returns>True if no error occurred, false otherwise.</returns>
- public bool SetNotificationLevel(NotificationLevelType level) {
+ public bool SetNotificationLevel(NotificationLevel level) {
bool ret = NDalicPINVOKE.SetNotificationLevel(swigCPtr, (int)level);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
/// Gets a priority level for the specified notification window.
/// </summary>
/// <returns>The notification window level.</returns>
- public NotificationLevelType GetNotificationLevel() {
- NotificationLevelType ret = (NotificationLevelType)NDalicPINVOKE.GetNotificationLevel(swigCPtr);
+ public NotificationLevel GetNotificationLevel() {
+ NotificationLevel ret = (NotificationLevel)NDalicPINVOKE.GetNotificationLevel(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
/// </summary>
/// <param name="screenMode">The screen mode.</param>
/// <returns>True if no error occurred, false otherwise.</returns>
- public bool SetScreenMode(ScreenModeType screenMode) {
+ public bool SetScreenMode(ScreenMode screenMode) {
bool ret = NDalicPINVOKE.SetScreenMode(swigCPtr, (int)screenMode);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
/// Gets a screen mode of the window.
/// </summary>
/// <returns>The screen mode.</returns>
- public ScreenModeType GetScreenMode() {
- ScreenModeType ret = (ScreenModeType)NDalicPINVOKE.GetScreenMode(swigCPtr);
+ public ScreenMode GetScreenMode() {
+ ScreenMode ret = (ScreenMode)NDalicPINVOKE.GetScreenMode(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}