SmsManager.CreateAppSpecificSmsToken(PendingIntent) Method

Definition

Create a single use app specific incoming SMS request for the calling package.

[Android.Runtime.Register("createAppSpecificSmsToken", "(Landroid/app/PendingIntent;)Ljava/lang/String;", "", ApiSince=26)]
public string? CreateAppSpecificSmsToken (Android.App.PendingIntent? intent);
[<Android.Runtime.Register("createAppSpecificSmsToken", "(Landroid/app/PendingIntent;)Ljava/lang/String;", "", ApiSince=26)>]
member this.CreateAppSpecificSmsToken : Android.App.PendingIntent -> string

Parameters

intent
PendingIntent

Returns

String

Token to include in an SMS message. The token will be 11 characters long.

Attributes

Remarks

Java documentation for android.telephony.SmsManager.createAppSpecificSmsToken(android.app.PendingIntent).

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