-/** Copyright (c) 2017 Samsung Electronics Co., Ltd.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
+/*
+ * Copyright(c) 2017 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
namespace Tizen.NUI
{
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
+ /// <summary>
+ /// Dispose.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
protected override void Dispose(DisposeTypes type)
{
if (disposed)
///<summary>
/// Event for Notified signal which can be used to subscribe/unsubscribe the event handler
- /// (in the type of NotifyEventHandler-DaliEventHandler<object,NotifyEventArgs>) provided by the user.
/// Notified signal is emitted when the notification upon a condition of the property being met, has occurred.
///</summary>
/// <since_tizen> 4 </since_tizen>
}
/// <summary>
- /// Get property notification from Intptr.
+ /// Get property notification from Intptr.<br/>
+ /// This should be internal, please do not use.
/// </summary>
+ /// <param name="cPtr">An object of IntPtr type.</param>
+ /// <returns>An object of the PropertyNotification type.</returns>
/// <since_tizen> 4 </since_tizen>
public static PropertyNotification GetPropertyNotificationFromPtr(global::System.IntPtr cPtr)
{
/// <summary>
/// Downcast a PropertyNotification instance.
/// </summary>
+ /// <param name="handle">Handle to an object of BaseHandle type.</param>
+ /// <returns>Handle to an object of the PropertyNotification type.</returns>
/// <since_tizen> 4 </since_tizen>
public static PropertyNotification DownCast(BaseHandle handle)
{
/// <summary>
/// Assign.
/// </summary>
+ /// <param name="rhs">A reference to the copied handle.</param>
+ /// <returns>A reference to this.</returns>
/// <since_tizen> 4 </since_tizen>
public PropertyNotification Assign(PropertyNotification rhs)
{
/// <summary>
/// Gets the condition of this notification.
/// </summary>
+ /// <returns>The condition is returned.</returns>
/// <since_tizen> 4 </since_tizen>
public PropertyCondition GetCondition()
{
/// <summary>
/// Gets the target handle's property index that this notification.
/// </summary>
+ /// <returns>The target property index.</returns>
/// <since_tizen> 4 </since_tizen>
public int GetTargetProperty()
{
/// <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)
{
/// <summary>
/// Retrieves the current Notification mode.
/// </summary>
+ /// <returns>Notification mode.</returns>
/// <since_tizen> 4 </since_tizen>
public PropertyNotification.NotifyMode GetNotifyMode()
{
return ret;
}
+ /// <summary>
+ /// Connects to this signal to be notified when the notification has occurred.
+ /// </summary>
+ /// <returns>A signal object to Connect() with</returns>
public PropertyNotifySignal NotifySignal()
{
PropertyNotifySignal ret = new PropertyNotifySignal(NDalicPINVOKE.PropertyNotification_NotifySignal(swigCPtr), false);
/// <since_tizen> 4 </since_tizen>
public enum NotifyMode
{
+ /// <summary>
+ /// Don't notify, regardless of result of Condition
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
Disabled,
+ /// <summary>
+ /// Notify whenever condition changes from false to true.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
NotifyOnTrue,
+ /// <summary>
+ /// Notify whenever condition changes from true to false.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
NotifyOnFalse,
+ /// <summary>
+ /// Notify whenever condition changes (false to true, and true to false)
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
NotifyOnChanged
}