/* * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace Tizen.Account.AccountManager { /// /// Enumeration for the state of capability. /// /// 3 public enum CapabilityState { /// /// Account capability is invalid. /// /// 3 InvalidState, /// /// Account capability is disabled. /// /// 3 Disabled, /// /// Account capability is enabled. /// /// 3 Enabled } /// /// Enumeration for the state of account secrecy. /// /// 3 public enum AccountSecrecyState { /// /// Account secrecy is invalid. /// /// 3 InvalidState, /// /// Account is not visible. /// /// 3 Invisible, /// /// Account is visible. /// /// 3 Visible } /// /// Enumeration for the account sync status. /// /// 3 public enum AccountSyncState { /// /// Account sync is invalid. /// /// 3 InvalidState, /// /// Account sync not supported. /// /// 3 NotSupported, /// /// Account sync supported, but all the synchronization functionalities are off. /// /// 3 Off, /// /// Account sync supported and sync status is idle. /// /// 3 Idle, /// /// Account sync supported and sync status is running. /// /// 3 Running } /// /// Enumeration for the account auth type. /// /// 3 public enum AccountAuthType { /// /// Auth type is invalid. /// /// 3 Invalid, /// /// XAuth type. /// /// 3 XAuth, /// /// OAuth type. /// /// 3 OAuth, /// /// ClientLogin type. /// /// 3 ClientLogin } /// /// Account information change notification types. /// /// 3 /// /// When the account database is changed, you can distinguish one event type from the other which are set for subscribing notification. /// public enum AccountNotificationType { /// /// The insert notification type. /// /// 3 Insert, /// /// The delete notification type. /// /// 3 Delete, /// /// The update notification type. /// /// 3 Update, /// /// The sync update notification type. /// /// 3 syncUpdate } }