/*
* Copyright (c) 2018 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.
*/
using System.Text;
using System.Collections.Generic;
namespace Tizen.Tapi
{
///
/// A class which defines incoming SMS message notification data.
///
public class SmsIncomingMessageNoti
{
internal string ScaVal;
internal int MsgLength;
internal string Data;
internal SmsNetType FormatType;
internal SmsIncomingMessageNoti()
{
}
///
/// SCA.
///
/// Sca value represented in string.
public string Sca
{
get
{
return ScaVal;
}
}
///
/// Message length.
///
/// Length of incoming message.
public int MessageLength
{
get
{
return MsgLength;
}
}
///
/// Data.
///
/// Data representing incoming message information.
public string SzData
{
get
{
return Data;
}
}
///
/// SMS format.
///
/// Format of the incoming SMS.
public SmsNetType Format
{
get
{
return FormatType;
}
}
}
///
/// A class which defines incoming CB message notification data.
///
public class SmsIncomingCbMessageNoti
{
internal SmsCbMsgType CbType;
internal short Len;
internal string Data;
internal SmsIncomingCbMessageNoti()
{
}
///
/// Cell Broadcast message type.
///
/// Type of cell broadcast message.
public SmsCbMsgType Type
{
get
{
return CbType;
}
}
///
/// Size of MsgData (which is the actual TPDU message).
///
/// Length of message data.
public short Length
{
get
{
return Len;
}
}
///
/// Cell broadcast message data.
///
/// Message data representing cell broadcast message.
public string SzMsgData
{
get
{
return Data;
}
}
}
///
/// A class which defines incoming ETWS message notification data.
///
public class SmsIncomingEtwsMessageNoti
{
internal SmsEtwsMsgType EtwsType;
internal short Len;
internal string Data;
internal SmsIncomingEtwsMessageNoti()
{
}
///
/// ETWS message type.
///
/// Type of ETWS message.
public SmsEtwsMsgType Type
{
get
{
return EtwsType;
}
}
///
/// Size of MsgData (which is the actual TPDU message).
///
/// Length of message data.
public short Length
{
get
{
return Len;
}
}
///
/// ETWS message data.
///
/// Message data representing ETWS message.
public string SzMsgData
{
get
{
return Data;
}
}
}
}