다음을 통해 공유


ISmsBinaryMessage 인터페이스

정의

이 인터페이스는 SMS 메시지의 원시 이진 형식에 대한 액세스를 제공합니다. 메시지는 업계 PDU(표준 프로토콜 설명 단위) 형식으로 저장됩니다(SMS 사양 GSM 03.40 참조).

참고

이 기능은 모바일 네트워크 운영자, 모바일 광대역 어댑터 IHV 또는 OEM에서 권한 있는 액세스 권한이 부여된 통신사 앱 및 UWP 앱에서만 사용할 수 있습니다. 자세한 내용은 모바일 광대역을 참조하세요.

public interface class ISmsBinaryMessage : ISmsMessage
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.Sms.LegacySmsApiContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("SmsBinaryMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsAppMessage.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Devices.Sms.LegacySmsApiContract)]
/// [Windows.Foundation.Metadata.Guid(1542776851, 15187, 19566, 182, 26, 216, 106, 99, 117, 86, 80)]
struct ISmsBinaryMessage : ISmsMessage
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.Sms.LegacySmsApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1542776851, 15187, 19566, 182, 26, 216, 106, 99, 117, 86, 80)]
/// [Windows.Foundation.Metadata.Deprecated("SmsBinaryMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsAppMessage.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
struct ISmsBinaryMessage : ISmsMessage
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.Sms.LegacySmsApiContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("SmsBinaryMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsAppMessage.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Devices.Sms.LegacySmsApiContract))]
[Windows.Foundation.Metadata.Guid(1542776851, 15187, 19566, 182, 26, 216, 106, 99, 117, 86, 80)]
public interface ISmsBinaryMessage : ISmsMessage
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.Sms.LegacySmsApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1542776851, 15187, 19566, 182, 26, 216, 106, 99, 117, 86, 80)]
[Windows.Foundation.Metadata.Deprecated("SmsBinaryMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsAppMessage.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
public interface ISmsBinaryMessage : ISmsMessage
Public Interface ISmsBinaryMessage
Implements ISmsMessage
파생
특성
구현

Windows 요구 사항

디바이스 패밀리
Windows Desktop Extension SDK (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Devices.Sms.LegacySmsApiContract (v1.0에서 도입되었습니다.)
앱 기능
cellularMessaging sms

설명

인터페이스 상속

ISmsBinaryMessage는 ISmsMessage를 상속합니다. ISmsBinaryMessage를 구현하는 형식은 ISmsMessage의 인터페이스 멤버도 구현합니다.

속성

Format

이 메시지의 검색된 PDU(프로토콜 설명 단위) 형식을 검색합니다.

Id

메시지를 가져오거나 삭제하기 위해 나중에 메시지 저장소 메서드를 호출할 때 지정할 수 있는 메시지의 ID를 검색합니다.

(다음에서 상속됨 ISmsMessage)
MessageClass

운영자의 메시지 네트워크에 의해 결정되는 메시지 클래스를 반환합니다. 가장 일반적인 두 클래스는 None(일반 메시지) 또는 Class0(사용자에게 즉시 표시되어야 하는 로밍 경고와 같은 특수 연산자 메시지)입니다. 최종 사용자 메시지에 대한 일반적인 클라이언트는 Class0 메시지를 무시합니다.

(다음에서 상속됨 ISmsMessage)

메서드

GetData()

메시지의 원시 버퍼를 바이트 배열로 PDU(이진 프로토콜 설명 단위) 형식으로 반환합니다.

SetData(Byte[])

SMS 메시지의 원시 이진 페이로드를 지정합니다. PDU(프로토콜 설명 단위) 표준에 따라 형식이 지정되어야 합니다.

적용 대상

추가 정보