CarrierMessagingService.OnDownloadMms 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.
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.
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
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.