X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FTizen.System.Feedback%2FInterop%2FInterop.Feedback.cs;h=40ab92da155b893e3a4e5a2ae6ee2b9fd9d57a26;hb=2ff1b0686b10a671eaf7de22de006997cee096c8;hp=81fbedaeb28596cf7fe543472f2e899bd7e842fa;hpb=c9b19eb6223055fbe330befa658905a3d261ba91;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/src/Tizen.System.Feedback/Interop/Interop.Feedback.cs b/src/Tizen.System.Feedback/Interop/Interop.Feedback.cs index 81fbeda..40ab92d 100644 --- a/src/Tizen.System.Feedback/Interop/Interop.Feedback.cs +++ b/src/Tizen.System.Feedback/Interop/Interop.Feedback.cs @@ -38,6 +38,12 @@ internal static partial class Interop Vibration = 2, } + internal enum FeedbackFlag + { + None = 0, + PriorityBasedPlay = 1, + } + [DllImport(Libraries.Feedback, EntryPoint = "feedback_initialize")] internal static extern int Initialize(); @@ -70,5 +76,8 @@ internal static partial class Interop [DllImport(Libraries.Feedback, EntryPoint = "feedback_get_theme_ids_internal", CallingConvention = CallingConvention.Cdecl)] internal static extern int GetThemeIdsInternal(FeedbackType type, out uint coundOfTheme, out IntPtr themeIds); + + [DllImport(Libraries.Feedback, EntryPoint = "feedback_play_type_with_flags_internal", CallingConvention = CallingConvention.Cdecl)] + internal static extern int PlayTypeWithFlagsInternal(FeedbackType type, int pattern, FeedbackFlag flag); } }