SmsManager.CreateAppSpecificSmsTokenWithPackageInfo(String, PendingIntent) 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.
Create a single use app specific incoming SMS request for the calling package.
[Android.Runtime.Register("createAppSpecificSmsTokenWithPackageInfo", "(Ljava/lang/String;Landroid/app/PendingIntent;)Ljava/lang/String;", "", ApiSince=29)]
public string? CreateAppSpecificSmsTokenWithPackageInfo (string? prefixes, Android.App.PendingIntent intent);
[<Android.Runtime.Register("createAppSpecificSmsTokenWithPackageInfo", "(Ljava/lang/String;Landroid/app/PendingIntent;)Ljava/lang/String;", "", ApiSince=29)>]
member this.CreateAppSpecificSmsTokenWithPackageInfo : string * Android.App.PendingIntent -> string
Parameters
- prefixes
- String
this is a list of prefixes string separated by REGEX_PREFIX_DELIMITER. The matching SMS message should have at least one of the prefixes in the beginning of the message.
- intent
- PendingIntent
this intent is sent when the matching SMS message is received.
Returns
Token to include in an SMS message.
- Attributes
Remarks
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.