コード例 #1
0
 /// <summary>
 /// Sets the Notification mode.
 /// </summary>
 /// <param name="mode">mode Notification mode (Default is PropertyNotification::NotifyOnTrue).</param>
 /// <since_tizen> 4 </since_tizen>
 public void SetNotifyMode(PropertyNotification.NotifyMode mode)
 {
     Interop.PropertyNotification.PropertyNotification_SetNotifyMode(swigCPtr, (int)mode);
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 /// <summary>
 /// Retrieves the current Notification mode.
 /// </summary>
 /// <returns>Notification mode.</returns>
 /// <since_tizen> 4 </since_tizen>
 public PropertyNotification.NotifyMode GetNotifyMode()
 {
     PropertyNotification.NotifyMode ret = (PropertyNotification.NotifyMode)Interop.PropertyNotification.PropertyNotification_GetNotifyMode(swigCPtr);
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
     return(ret);
 }