Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
if (type == DisposeTypes.Explicit)
{
if (type == DisposeTypes.Explicit)
{
+ AccessibilityManager.Instance.DeleteAccessibilityAttribute(this);
Extension?.OnDispose(this);
if (buttonIcon != null)
Extension?.OnDispose(this);
if (buttonIcon != null)
//Called by User
//Release your own managed resources here.
//You should release all of your own disposable objects here.
//Called by User
//Release your own managed resources here.
//You should release all of your own disposable objects here.
+ AccessibilityManager.Instance.DeleteAccessibilityAttribute(this);
RemoveVisual("loadingImageVisual");
}
RemoveVisual("loadingImageVisual");
}
if (type == DisposeTypes.Explicit)
{
if (type == DisposeTypes.Explicit)
{
+ AccessibilityManager.Instance.DeleteAccessibilityAttribute(this);
StopVerticalShadowAnimation();
StopScroll();
StopVerticalShadowAnimation();
StopScroll();
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_AccessibilityManager_SetAccessibilityAttribute")]
public static extern void AccessibilityManager_SetAccessibilityAttribute(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, string jarg4);
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_AccessibilityManager_SetAccessibilityAttribute")]
public static extern void AccessibilityManager_SetAccessibilityAttribute(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, string jarg4);
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_AccessibilityManager_DeleteAccessibilityAttribute")]
+ public static extern void AccessibilityManager_DeleteAccessibilityAttribute(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_AccessibilityManager_GetAccessibilityAttribute")]
public static extern string AccessibilityManager_GetAccessibilityAttribute(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3);
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_AccessibilityManager_GetAccessibilityAttribute")]
public static extern string AccessibilityManager_GetAccessibilityAttribute(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3);
Interop.AccessibilityManager.AccessibilityManager_SetAccessibilityAttribute(swigCPtr, View.getCPtr(view), (int)type, text);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
Interop.AccessibilityManager.AccessibilityManager_SetAccessibilityAttribute(swigCPtr, View.getCPtr(view), (int)type, text);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+
+ /// <summary>
+ /// Delete the information of the specified view's accessibility attribute.
+ /// </summary>
+ /// <param name="view"> The view to delete</param>
+ /// This will be public opened after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public void DeleteAccessibilityAttribute(View view)
+ {
+ Interop.AccessibilityManager.AccessibilityManager_DeleteAccessibilityAttribute(SwigCPtr, View.getCPtr(view));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
/// <summary>
/// Gets the text of the specified view's accessibility attribute.
/// <summary>
/// Gets the text of the specified view's accessibility attribute.