PhoneNumberUtils.NetworkPortionToCalledPartyBCDWithLength(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Same as #networkPortionToCalledPartyBCD, but includes a
one-byte length prefix.
[Android.Runtime.Register("networkPortionToCalledPartyBCDWithLength", "(Ljava/lang/String;)[B", "")]
public static byte[]? NetworkPortionToCalledPartyBCDWithLength(string? s);
[<Android.Runtime.Register("networkPortionToCalledPartyBCDWithLength", "(Ljava/lang/String;)[B", "")>]
static member NetworkPortionToCalledPartyBCDWithLength : string -> byte[]
Parameters
- s
- String
The phone-number text whose network portion is to be encoded.
Returns
The BCD network number with a length byte followed by a type-of-address byte, or null when the network portion is empty or consists only of a plus sign.
- Attributes
Remarks
Same as #networkPortionToCalledPartyBCD, but includes a one-byte length prefix.
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.