Android.Telephony.SmsMessage.CalculateLength Method
Calculates the number of SMS's required to encode the message body and the number of characters remaining until the next message.

Syntax

[Android.Runtime.Register("calculateLength", "(Ljava/lang/CharSequence;Z)[I", "")]
public static int[] CalculateLength (Java.Lang.ICharSequence msgBody, bool use7bitOnly)

Parameters

msgBody
the message to encode
use7bitOnly
if true, characters that are not part of the radio-specific 7-bit encoding are counted as single space chars. If false, and if the messageBody contains non-7-bit encodable characters, length is calculated using a 16-bit encoding.

Returns

Documentation for this section has not yet been entered.

Remarks

Calculates the number of SMS's required to encode the message body and the number of characters remaining until the next message.

[Android Documentation]

Requirements

Namespace: Android.Telephony
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 4