Language

SmsManager.SendMultipartTextMessage メソッド

定義

注意事項

deprecated

マルチパート テキスト ベースの SMS を送信します。

[Android.Runtime.Register("sendMultipartTextMessage", "(Ljava/lang/String;Ljava/lang/String;Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/util/ArrayList;)V", "")]
[System.Obsolete("deprecated")]
public void SendMultipartTextMessage(string? destinationAddress, string? scAddress, System.Collections.Generic.IList<string>? parts, System.Collections.Generic.IList<Android.App.PendingIntent>? sentIntents, System.Collections.Generic.IList<Android.App.PendingIntent>? deliveryIntents);
[<Android.Runtime.Register("sendMultipartTextMessage", "(Ljava/lang/String;Ljava/lang/String;Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/util/ArrayList;)V", "")>]
[<System.Obsolete("deprecated")>]
member this.SendMultipartTextMessage : string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Android.App.PendingIntent> * System.Collections.Generic.IList<Android.App.PendingIntent> -> unit

パラメーター

destinationAddress
String

メッセージを送信するアドレス

scAddress
String

は、現在の既定の SMSC を使用するサービス センター アドレスまたは null です

parts
IList<String>

元のメッセージを順番に構成する文字列のArrayList

sentIntents
IList<PendingIntent>

null でない場合は、対応するメッセージ部分が送信されたときにブロードキャストされるPendingIntentのArrayList (メッセージ パーツごとに 1 つ)。 結果コードは、成功のために Activity.RESULT_OK されるか、次のいずれかのエラー ( RESULT_ERROR_GENERIC_FAILURERESULT_ERROR_RADIO_OFFRESULT_ERROR_NULL_PDU) になります。 アプリケーションごとの SMS 制御は sentIntent をチェックします。 sentIntent が NULL の場合、呼び出し元はすべての不明なアプリケーションに対してチェックされます。これにより、確認期間中に送信される SMS の数が少なくなります。

deliveryIntents
IList<PendingIntent>

null でない場合は、対応するメッセージ 部分が受信者に配信されたときにブロードキャストされるPendingIntentのArrayList (メッセージ パーツごとに 1 つ)。 ステータス レポートの生 pdu は拡張データ ("pdu") にあります。

属性

注釈

マルチパート テキスト ベースの SMS を送信します。 呼び出し先は、 divideMessageを呼び出すことによって、メッセージを正しいサイズの部分に既に分割している必要があります。

このメンバーは非推奨です。 android.テレフォニー.SmsManager を使用します。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象