Windows News and info 15th Anniversary 2009-2024

Other Operating Systems => Windows 8 => Topic started by: javajolt on June 24, 2011, 06:48:24 PM

Title: SMS services may exist in Windows 8
Post by: javajolt on June 24, 2011, 06:48:24 PM
(http://i52.tinypic.com/161g742.jpg)

In another interesting scoop from Redmond Pie, Microsoft  are allegedly planning to install SMS services in Windows 8.
 
This would make sense seeing that the philosophy is to install Windows 8 on both tablets and PC’s.
 
You can see the code for SMS below

Quote
public sealed class SmsDevice : ISmsDevice
{
    // Events
    public event SmsDeviceStatusChangedEventHandler SmsDeviceStatusChanged;

    public event SmsMessageReceivedEventHandler SmsMessageReceived;

    public event SmsSignalStrengthChangedEventHandler SmsSignalStrengthChanged;

    public event SmsDeviceStatusChangedEventHandler Windows.Devices.Sms.ISmsDevice.SmsDeviceStatusChanged;

    public event SmsMessageReceivedEventHandler Windows.Devices.Sms.ISmsDevice.SmsMessageReceived;

    public event SmsSignalStrengthChangedEventHandler Windows.Devices.Sms.ISmsDevice.SmsSignalStrengthChanged;

    // Methods
    [MethodImpl(0x0, MethodCodeType=MethodCodeType.Runtime)]
    public SmsEncodedLength CalculateLength([In] SmsTextMessage message);
    [MethodImpl(0x0, MethodCodeType=MethodCodeType.Runtime)]
    public static SmsDevice FromId([In] string deviceInstanceId);
    [MethodImpl(0x0, MethodCodeType=MethodCodeType.Runtime)]
    public static SmsDevice GetDefault();
    [MethodImpl(0x0, MethodCodeType=MethodCodeType.Runtime)]
    public static string GetDeviceClassSelector();
    [MethodImpl(0x0, MethodCodeType=MethodCodeType.Runtime)]
    public SendSmsMessageOperation SendMessageAsync([In] ISmsMessage message);

    // Properties
    public string AccountPhoneNumber { [MethodImpl(0x0, MethodCodeType=MethodCodeType.Runtime)] get; }

    public CellularClass CellularClass { [MethodImpl(0x0, MethodCodeType=MethodCodeType.Runtime)] get; }

    public SmsDeviceStatus DeviceStatus { [MethodImpl(0x0, MethodCodeType=MethodCodeType.Runtime)] get; }

    public SmsDeviceMessageStore MessageStore { [MethodImpl(0x0, MethodCodeType=MethodCodeType.Runtime)] get; }

    public uint SignalStrength { [MethodImpl(0x0, MethodCodeType=MethodCodeType.Runtime)] get; }

    public string Windows.Devices.Sms.ISmsDevice.AccountPhoneNumber { [MethodImpl(0x0, MethodCodeType=MethodCodeType.Runtime)] get; }

    public CellularClass Windows.Devices.Sms.ISmsDevice.CellularClass { [MethodImpl(0x0, MethodCodeType=MethodCodeType.Runtime)] get; }

    public SmsDeviceStatus Windows.Devices.Sms.ISmsDevice.DeviceStatus { [MethodImpl(0x0, MethodCodeType=MethodCodeType.Runtime)] get; }

    public SmsDeviceMessageStore Windows.Devices.Sms.ISmsDevice.MessageStore { [MethodImpl(0x0, MethodCodeType=MethodCodeType.Runtime)] get; }

    public uint Windows.Devices.Sms.ISmsDevice.SignalStrength { [MethodImpl(0x0, MethodCodeType=MethodCodeType.Runtime)] get; }
}