public static extern void DaliToolkitDevelControlClearAccessibilityAttributes(global::System.Runtime.InteropServices.HandleRef arg1);
[EditorBrowsable(EditorBrowsableState.Never)]
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Toolkit_DevelControl_SetAccessibilityReadingInfoType")]
- public static extern void DaliToolkitDevelControlSetAccessibilityReadingInfoType(global::System.Runtime.InteropServices.HandleRef arg1, Tizen.NUI.BaseComponents.ReadingInfoTypes arg2);
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Toolkit_DevelControl_SetAccessibilityReadingInfoType2")]
+ public static extern void DaliToolkitDevelControlSetAccessibilityReadingInfoTypes(global::System.Runtime.InteropServices.HandleRef arg1, int arg2);
[EditorBrowsable(EditorBrowsableState.Never)]
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Toolkit_DevelControl_new_ReadingInfoType")]
- public static extern global::System.IntPtr DaliToolkitDevelControlNewReadingInfoType();
-
- [EditorBrowsable(EditorBrowsableState.Never)]
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Toolkit_DevelControl_new_GetAccessibilityReadingInfoType")]
- public static extern global::System.IntPtr DaliToolkitDevelControlNewGetAccessibilityReadingInfoType(global::System.Runtime.InteropServices.HandleRef arg1);
-
- [EditorBrowsable(EditorBrowsableState.Never)]
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Toolkit_DevelControl_delete_ReadingInfoType")]
- public static extern void DaliToolkitDevelControlDeleteReadingInfoType(IntPtr arg1);
-
- [EditorBrowsable(EditorBrowsableState.Never)]
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Toolkit_DevelControl_ReadingInfoTypes_Get")]
- public static extern bool DaliToolkitDevelControlReadingInfoTypesGet(Tizen.NUI.BaseComponents.ReadingInfoTypes arg1, int arg2);
-
- [EditorBrowsable(EditorBrowsableState.Never)]
- [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Toolkit_DevelControl_ReadingInfoTypes_Set")]
- public static extern void DaliToolkitDevelControlReadingInfoTypesSet(Tizen.NUI.BaseComponents.ReadingInfoTypes arg1, int arg2, int arg3);
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Toolkit_DevelControl_GetAccessibilityReadingInfoType2")]
+ public static extern int DaliToolkitDevelControlGetAccessibilityReadingInfoTypes(global::System.Runtime.InteropServices.HandleRef arg1);
[EditorBrowsable(EditorBrowsableState.Never)]
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Toolkit_DevelControl_ClearAccessibilityHighlight")]
}
}
- [EditorBrowsable(EditorBrowsableState.Never)]
- public partial class ReadingInfoTypes : SafeHandle
- {
- [EditorBrowsable(EditorBrowsableState.Never)]
- public ReadingInfoTypes() : base(IntPtr.Zero, true)
- {
- var obj = Interop.ControlDevel.DaliToolkitDevelControlNewReadingInfoType();
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- this.SetHandle(obj);
- }
-
- [EditorBrowsable(EditorBrowsableState.Never)]
- public ReadingInfoTypes(IntPtr ptr) : base(ptr, true) { }
-
- [EditorBrowsable(EditorBrowsableState.Never)]
- public override bool IsInvalid { get { return this.handle == IntPtr.Zero; } }
-
- [EditorBrowsable(EditorBrowsableState.Never)]
- public void Set(ReadingInfoType type, bool v)
- {
- Interop.ControlDevel.DaliToolkitDevelControlReadingInfoTypesSet(this, (int)type, Convert.ToInt32(v));
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- [EditorBrowsable(EditorBrowsableState.Never)]
- public bool Get(ReadingInfoType type)
- {
- bool result = Interop.ControlDevel.DaliToolkitDevelControlReadingInfoTypesGet(this, (int)type);
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return result;
- }
-
- [EditorBrowsable(EditorBrowsableState.Never)]
- protected override bool ReleaseHandle()
- {
- Interop.ControlDevel.DaliToolkitDevelControlDeleteReadingInfoType(handle);
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- this.SetHandle(IntPtr.Zero);
- return true;
- }
- }
-
[EditorBrowsable(EditorBrowsableState.Never)]
public partial class AccessibilityStates : SafeHandle
{
[EditorBrowsable(EditorBrowsableState.Never)]
public void RemoveAccessibilityRelation(View second, RelationType relation)
{
+ if (second is null)
+ throw new ArgumentNullException(nameof(second));
+
Interop.ControlDevel.DaliToolkitDevelControlRemoveAccessibilityRelation(SwigCPtr, second.SwigCPtr, (int)relation);
if (NDalicPINVOKE.SWIGPendingException.Pending)
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return result;
}
+ ///////////////////////////////////////////////////////////////////
+ // ********************* ReadingInfoType *********************** //
+ ///////////////////////////////////////////////////////////////////
+
[EditorBrowsable(EditorBrowsableState.Never)]
- public void SetAccessibilityReadingInfoType(ReadingInfoTypes types)
+ public void SetAccessibilityReadingInfoTypes(AccessibilityReadingInfoTypes info)
{
- Interop.ControlDevel.DaliToolkitDevelControlSetAccessibilityReadingInfoType(SwigCPtr, types);
+ Interop.ControlDevel.DaliToolkitDevelControlSetAccessibilityReadingInfoTypes(SwigCPtr, (int)info);
if (NDalicPINVOKE.SWIGPendingException.Pending)
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
[EditorBrowsable(EditorBrowsableState.Never)]
- public ReadingInfoTypes GetAccessibilityReadingInfoType()
+ public AccessibilityReadingInfoTypes GetAccessibilityReadingInfoTypes()
{
- var result = new ReadingInfoTypes(Interop.ControlDevel.DaliToolkitDevelControlNewGetAccessibilityReadingInfoType(SwigCPtr));
+ AccessibilityReadingInfoTypes result = (AccessibilityReadingInfoTypes)Interop.ControlDevel.DaliToolkitDevelControlGetAccessibilityReadingInfoTypes(SwigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending)
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return result;