80,351
社区成员
发帖
与我相关
我的任务
分享
/***
0519
* Broadcast Action: A new text based SMS message has been received
0520
* by the device. The intent will have the following extra
0521
* values:</p>
0522
*
0523
* <ul>
0524
* <li><em>pdus</em> - An Object[] od byte[]s containing the PDUs
0525
* that make up the message.</li>
0526
* </ul>
0527
*
0528
* <p>The extra values can be extracted using
0529
* {@link #getMessagesFromIntent(Intent)}.</p>
0530
*
0531
* <p>If a BroadcastReceiver encounters an error while processing
0532
* this intent it should set the result code appropriately.</p>
0533
*/
0534
@SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
0535
public static final String SMS_RECEIVED_ACTION =
0536
"android.provider.Telephony.SMS_RECEIVED";
0537