internal static partial class Call
{
[DllImport(Libraries.Telephony, EntryPoint = "telephony_call_get_preferred_voice_subscription")]
- internal static extern Telephony.TelephonyError GetPreferredVoiceSubscription(IntPtr handle, out CallPreferredVoiceSubsubscription callSub);
+ internal static extern Telephony.TelephonyError GetPreferredVoiceSubscription(IntPtr handle, out CallPreferredVoiceSubscription callSub);
[DllImport(Libraries.Telephony, EntryPoint = "telephony_call_get_call_list")]
internal static extern Telephony.TelephonyError GetCallList(IntPtr handle, out uint count, out IntPtr callList);
/// <summary>
/// Gets the current value for the preferred voice call subscription.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <returns>
/// The currently set preferred voicecall subscription value.
/// </returns>
- public CallPreferredVoiceSubsubscription PreferredVoiceSubscription
+ public CallPreferredVoiceSubscription PreferredVoiceSubscription
{
get
{
- CallPreferredVoiceSubsubscription subs = CallPreferredVoiceSubsubscription.Unknown;
+ CallPreferredVoiceSubscription subs = CallPreferredVoiceSubscription.Unknown;
TelephonyError error = Interop.Call.GetPreferredVoiceSubscription(_handle, out subs);
if (error != TelephonyError.None)
{
Tizen.Log.Error(Interop.Telephony.LogTag, "GetPreferredVoiceSubscription Failed with error " + error);
- return CallPreferredVoiceSubsubscription.Unknown;
+ return CallPreferredVoiceSubscription.Unknown;
}
return subs;
/// <summary>
/// Gets the list of the current call.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <returns>
/// List of CallHandle for existing calls.
/// </returns>
VideoCallStatusIncoming,
/// <summary>
/// Notification to be invoked when the preferred voice subscription changes.
- /// CallPreferredVoiceSubsubscription will be delivered in notification data
+ /// CallPreferredVoiceSubscription will be delivered in notification data
/// </summary>
/// <privilege>
/// http://tizen.org/privilege/telephony
/// Gets the IMEI (International Mobile Station Equipment Identity) of a mobile phone.
/// The IMEI number is used by a GSM network to identify valid devices and therefore can be used for stopping a stolen phone from accessing that network.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <returns>
/// The International Mobile Station Equipment Identity
/// empty string if unable to complete the operation
/// <summary>
/// Gets the power status of the modem.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <returns>
/// The Modem power status (0=on,1=off,2=reset,3=low)
/// </returns>
/// <summary>
/// Gets the MEID (Mobile Equipment Identifier) of a mobile phone. (for CDMA)
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <returns>
/// The Mobile Equipment Identifier
/// empty string if unable to complete the operation
/// <summary>
/// Gets the LAC (Location Area Code) of the current location.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/location.coarse
- /// </priviledge>
+ /// </privilege>
/// <remarks>
/// This API can be used in GSM / WCDMA network.
/// </remarks>
/// <summary>
/// Gets the cell ID of the current location.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/location.coarse
- /// </priviledge>
+ /// </privilege>
/// <remarks>
/// This API can be used in GSM / WCDMA / LTE network.
/// </remarks>
/// <summary>
/// Gets the RSSI (Received Signal Strength Indicator).
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <returns>
/// The Received Signal Strength Indicator
/// Higher the received number, the stronger the signal strength.
/// <summary>
/// Gets the roaming state of the current registered network.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <returns>
/// true if roaming, otherwise false if not roaming
/// </returns>
/// <summary>
/// Gets the MCC (Mobile Country Code) of the current registered network.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <remarks>
/// This API can be used in GSM / WCDMA / LTE network.
/// </remarks>
/// <summary>
/// Gets the MNC (Mobile Network Code) of the current registered network.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <remarks>
/// This API can be used in GSM / WCDMA / LTE network.
/// </remarks>
/// <summary>
/// Gets the name of the current registered network.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <remarks>
/// This API can be used in GSM / WCDMA / LTE network.
/// </remarks>
/// <summary>
/// Gets the network service type of the current registered network.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <remarks>
/// This API can be used in case network is in service.
/// </remarks>
/// <summary>
/// Gets the packet service type of the current registered network.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <remarks>
/// This API can be used in HSDPA network.
/// </remarks>
/// <summary>
/// Gets the network name option of the current registered network.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <returns>
/// The network name display option
/// </returns>
/// <summary>
/// Gets the current network state of the telephony service.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <returns>
/// The current network state
/// </returns>
/// <summary>
/// Gets the current default subscription for data service (Packet Switched).
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <returnns>
/// The current default data subscription
/// </returnns>
/// <summary>
/// Gets the current default subscription for voice service (Circuit Switched).
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <returnns>
/// The current default voice subscription
/// </returnns>
/// <summary>
/// Gets the network selection mode.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <returns>
/// The network selection mode.
/// </returns>
/// <summary>
/// Gets the TAC (Tracking Area Code) of the current location.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <remarks>
/// This API can be used in LTE network.
/// </remarks>
/// <summary>
/// Gets the system ID of the current location.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <remarks>
/// This API can be used in CDMA network.
/// </remarks>
/// <summary>
/// Gets the network ID of the current location.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/location.coarse
- /// </priviledge>
+ /// </privilege>
/// <remarks>
/// This API can be used in CDMA network.
/// </remarks>
/// <summary>
/// Gets the base station ID of the current location.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/location.coarse
- /// </priviledge>
+ /// </privilege>
/// <remarks>
/// This API can be used in CDMA network.
/// </remarks>
/// <summary>
/// Gets the base station latitude of the current location.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/location.coarse
- /// </priviledge>
+ /// </privilege>
/// <remarks>
/// This API can be used in CDMA network.
/// </remarks>
/// <summary>
/// Gets the base station longitude of the current location.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/location.coarse
- /// </priviledge>
+ /// </privilege>
/// <remarks>
/// This API can be used in CDMA network.
/// </remarks>
/// Gets the Integrated Circuit Card IDentification (ICC-ID).
/// The Integrated Circuit Card Identification number internationally identifies SIM cards.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <returns>
/// The Integrated Circuit Card Identification
/// empty string if unable to complete the operation
/// Gets the SIM Operator (MCC [3 digits] + MNC [2~3 digits]).
/// The Operator is embedded in the SIM card.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <returns>
/// The SIM Operator
/// empty string if unable to complete the operation
/// <summary>
/// Gets the Mobile Subscription Identification Number (MSIN [9~10 digits]) of the SIM provider.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <returns>
/// The Mobile Subscription Identification Number
/// empty string if unable to complete the operation
/// Gets the Service Provider Name (SPN) of the SIM card.
/// Gets Service Provider Name embedded in the SIM card.If this value is not stored in SIM card, empty string will be returned.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <returns>
/// The Service Provider Name
/// empty string if unable to complete the operation
/// <summary>
/// Checks whether the current SIM card is different from the previous SIM card.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <returns>
/// true if the current SIM card is different from the previous SIM card, otherwise false if the SIM card is not changed
/// </returns>
/// <summary>
/// Gets the state of the SIM.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <returns>
/// The current state of the SIM
/// </returns>
}
/// <summary>
- /// Gets the list of application on UICC.
+ /// Gets the count of application on UICC.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <returns>
/// The masking value for below values are provided by the enum ApplicationType
/// 0 if unable to complete the operation
/// Gets subscriber number embedded in the SIM card. This value contains MSISDN related to the subscriber.
/// If this value is not stored in SIM card, empty string will be returned.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <returns>
/// The subscriber number in the SIM
/// empty string if unable to complete the operation
/// <summary>
/// Gets the Subscriber ID.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <returns>
/// The subscriber ID
/// empty string if unable to complete the operation
/// <summary>
/// Gets the lock state of the SIM.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <returns>
/// The current lock state of the SIM
/// </returns>
/// Gets the GID1 (Group Identifier Level 1).
/// Gets Group Identifier Level 1(GID1) embedded in the SIM card.If this value is not stored in SIM card, empty string will be returned.
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <returns>
/// The GID1 (Group Identifier Level 1)
/// empty string if unable to complete the operation
/// Gets the call forwarding indicator state of the SIM.
/// If the state is true, incoming call will be forwarded to the selected number.state indicates the CFU(Call Forwarding Unconditional) indicator status - Voice. (3GPP TS 31.102 4.2.64 EF CFIS)
/// </summary>
- /// <priviledge>
+ /// <privilege>
/// http://tizen.org/privilege/telephony
- /// </priviledge>
+ /// </privilege>
/// <returns>
/// The value whether incoming call will be forwarded or not. (true: forwarded, false: not forwarded)
/// </returns>
namespace Tizen.Telephony
{
+ /// <summary>
+ /// This Class provides API's that provides functionality related to slot handle.
+ /// </summary>
public class SlotHandle
{
internal IntPtr _handle;
case ChangeNotificationEventArgs.Notification.CallPreferredVoiceSubscription:
{
- notiData = (CallPreferredVoiceSubsubscription)Marshal.ReadInt32(data);
+ notiData = (CallPreferredVoiceSubscription)Marshal.ReadInt32(data);
break;
}
/// <summary>
/// Enumeration for the preferred voice call subscription.
/// </summary>
- public enum CallPreferredVoiceSubsubscription
+ public enum CallPreferredVoiceSubscription
{
/// <summary>
/// Unknown status