Name: csapi-account-manager
Summary: Tizen account manager API for C#
-Version: 1.0.1
+Version: 1.0.2
Release: 1
Group: Development/Libraries
License: Apache-2.0
Source1: %{name}.manifest
AutoReqProv: no
+ExcludeArch: %{ix86} aarch64
BuildRequires: mono-compiler
BuildRequires: mono-devel
<Compile Include="Tizen.Account.AccountManager\AccountErrorFactory.cs" />
<Compile Include="Tizen.Account.AccountManager\AccountService.cs" />
<Compile Include="Tizen.Account.AccountManager\AccountProvider.cs" />
- <Compile Include="Tizen.Account.AccountManager\AccountSucriberEventArgs.cs" />
+ <Compile Include="Tizen.Account.AccountManager\AccountSubscriberEventArgs.cs" />
</ItemGroup>
<ItemGroup>
<None Include="Tizen.Account.AccountManager.snk" />
<Compile Include="Tizen.Account.AccountManager\AccountErrorFactory.cs" />
<Compile Include="Tizen.Account.AccountManager\AccountService.cs" />
<Compile Include="Tizen.Account.AccountManager\AccountProvider.cs" />
- <Compile Include="Tizen.Account.AccountManager\AccountSucriberEventArgs.cs" />
+ <Compile Include="Tizen.Account.AccountManager\AccountSubscriberEventArgs.cs" />
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildExtensionsPath)\Tizen\Tizen.CSharp.GBS.targets" Condition="Exists('$(MSBuildExtensionsPath)\Tizen\Tizen.CSharp.GBS.targets')" />
private static readonly Interop.AccountService.SubscribeCallback s_accountUpdatedCallback = (string eventType, int accountId, IntPtr userData) =>
{
- AccountSucriberEventArgs eventArgs = new AccountSucriberEventArgs(eventType, accountId);
+ AccountSubscriberEventArgs eventArgs = new AccountSubscriberEventArgs(eventType, accountId);
s_accountUpdated?.Invoke(null, eventArgs);
return true;
};
private static Interop.AccountService.SafeAccountSubscriberHandle s_subscriberHandle;
- private static event EventHandler<AccountSucriberEventArgs> s_accountUpdated;
+ private static event EventHandler<AccountSubscriberEventArgs> s_accountUpdated;
/// <summary>
/// ContentUpdated event is triggered when the media item info from DB changes.
/// </summary>
/// <exception cref="InvalidOperationException">In case of any DB error </exception>
/// <exception cref="ArgumentException"> In case of invalid parameter</exception>
/// <exception cref="UnauthorizedAccessException"> In case of privilege not defined.</exception>
- public static event EventHandler<AccountSucriberEventArgs> AccountUpdated
+ public static event EventHandler<AccountSubscriberEventArgs> AccountUpdated
{
add
{
/// <summary>
/// Event arguments passed when Event is triggered to notify that account is updated/removed from the account database.
/// </summary>
- public class AccountSucriberEventArgs : EventArgs
+ public class AccountSubscriberEventArgs : EventArgs
{
private const string NotiInsert = "insert";
private const string NotiDelete = "delete";
private const string NotiUpdate = "update";
private const string NotiSyncUpdate = "sync_update";
- internal AccountSucriberEventArgs(string eventType, int accountId)
+ internal AccountSubscriberEventArgs(string eventType, int accountId)
{
if (eventType.CompareTo(NotiInsert) == 0)
{