* Add Tizen.Applications.WatchfaceComplication.dll
Signed-off-by: hyunho <hhstark.kang@samsung.com>
* Remove unused using
Signed-off-by: hyunho <hhstark.kang@samsung.com>
* Fix wrong dispose sequence
Signed-off-by: hyunho <hhstark.kang@samsung.com>
* Fix wrong assignment
Validation is already done and initialize should be done without validation
Signed-off-by: hyunho <hhstark.kang@samsung.com>
* Fix register callback bug
Signed-off-by: hyunho <hhstark.kang@samsung.com>
* Modify field that is only assigned in constructor
Field that is only assigned in constructor should be readonly
Signed-off-by: hyunho <hhstark.kang@samsung.com>
* Fix type mismatch
Signed-off-by: hyunho <hhstark.kang@samsung.com>
Interop.WatchfaceComplication.ProviderSetExtraData(sharedData, _extraData);
break;
case ComplicationTypes.Time:
Interop.WatchfaceComplication.ProviderSetExtraData(sharedData, _extraData);
break;
case ComplicationTypes.Time:
- err = Interop.WatchfaceComplication.ProviderSetTimestamp(sharedData, _timestamp);
+ err = Interop.WatchfaceComplication.ProviderSetTimestamp(sharedData, (Int32)_timestamp);
Interop.WatchfaceComplication.ProviderSetIconPath(sharedData, _iconPath);
Interop.WatchfaceComplication.ProviderSetExtraData(sharedData, _extraData);
break;
Interop.WatchfaceComplication.ProviderSetIconPath(sharedData, _iconPath);
Interop.WatchfaceComplication.ProviderSetExtraData(sharedData, _extraData);
break;
internal static extern ComplicationError ProviderSetLongText(IntPtr sharedData, string longText);
[DllImport(Libraries.ComplicationProvider, EntryPoint = "watchface_complication_provider_data_set_timestamp")]
internal static extern ComplicationError ProviderSetLongText(IntPtr sharedData, string longText);
[DllImport(Libraries.ComplicationProvider, EntryPoint = "watchface_complication_provider_data_set_timestamp")]
- internal static extern ComplicationError ProviderSetTimestamp(IntPtr sharedData, long timestamp);
+ internal static extern ComplicationError ProviderSetTimestamp(IntPtr sharedData, Int32 timestamp);
[DllImport(Libraries.ComplicationProvider, EntryPoint = "watchface_complication_provider_data_set_image_path")]
internal static extern ComplicationError ProviderSetImagePath(IntPtr sharedData, string imagePath);
[DllImport(Libraries.ComplicationProvider, EntryPoint = "watchface_complication_provider_data_set_image_path")]
internal static extern ComplicationError ProviderSetImagePath(IntPtr sharedData, string imagePath);