SmsManager.DivideMessage(String) Method

Definition

Caution

deprecated

Divide a text message into several messages, none bigger than the maximum SMS message size.

[Android.Runtime.Register("divideMessage", "(Ljava/lang/String;)Ljava/util/ArrayList;", "")]
[System.Obsolete("deprecated")]
public System.Collections.Generic.IList<string>? DivideMessage (string? text);
[<Android.Runtime.Register("divideMessage", "(Ljava/lang/String;)Ljava/util/ArrayList;", "")>]
[<System.Obsolete("deprecated")>]
member this.DivideMessage : string -> System.Collections.Generic.IList<string>

Parameters

text
String

the original message. Must not be null.

Returns

an ArrayList of strings that, in order, comprise the original message

Attributes

Remarks

Divide a text message into several messages, none bigger than the maximum SMS message size.

This member is deprecated. Use android.telephony.SmsManager.

Java documentation for android.telephony.gsm.SmsManager.divideMessage(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to