次の方法で共有


CarrierMessagingService.OnDownloadMms Method

Definition

Override this method to download MMSs received.

[Android.Runtime.Register("onDownloadMms", "(Landroid/net/Uri;ILandroid/net/Uri;Landroid/service/carrier/CarrierMessagingService$ResultCallback;)V", "GetOnDownloadMms_Landroid_net_Uri_ILandroid_net_Uri_Landroid_service_carrier_CarrierMessagingService_ResultCallback_Handler", ApiSince=22)]
public virtual void OnDownloadMms (Android.Net.Uri contentUri, int subId, Android.Net.Uri location, Android.Service.Carrier.CarrierMessagingService.IResultCallback callback);
[<Android.Runtime.Register("onDownloadMms", "(Landroid/net/Uri;ILandroid/net/Uri;Landroid/service/carrier/CarrierMessagingService$ResultCallback;)V", "GetOnDownloadMms_Landroid_net_Uri_ILandroid_net_Uri_Landroid_service_carrier_CarrierMessagingService_ResultCallback_Handler", ApiSince=22)>]
abstract member OnDownloadMms : Android.Net.Uri * int * Android.Net.Uri * Android.Service.Carrier.CarrierMessagingService.IResultCallback -> unit
override this.OnDownloadMms : Android.Net.Uri * int * Android.Net.Uri * Android.Service.Carrier.CarrierMessagingService.IResultCallback -> unit

Parameters

contentUri
Uri

the content provider URI of the PDU to be downloaded.

subId
Int32

SMS subscription ID of the SIM

location
Uri

the URI of the message to be downloaded.

callback
CarrierMessagingService.IResultCallback

result callback. Call with a status code which is one of #DOWNLOAD_STATUS_OK, #DOWNLOAD_STATUS_RETRY_ON_CARRIER_NETWORK, or #DOWNLOAD_STATUS_ERROR.

Attributes

Remarks

Java documentation for android.service.carrier.CarrierMessagingService.onDownloadMms(android.net.Uri, int, android.net.Uri, android.service.carrier.ResultCallback).

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