Udostępnij za pośrednictwem


DownloadRequest.ToByteArray Method

Definition

This method returns a byte array that may be persisted to disk and restored to a DownloadRequest.

[Android.Runtime.Register("toByteArray", "()[B", "", ApiSince=28)]
public byte[]? ToByteArray ();
[<Android.Runtime.Register("toByteArray", "()[B", "", ApiSince=28)>]
member this.ToByteArray : unit -> byte[]

Returns

Byte[]

A byte array of data to persist.

Attributes

Remarks

This method returns a byte array that may be persisted to disk and restored to a DownloadRequest. The instance of DownloadRequest persisted by this method may be recovered via Builder#fromSerializedRequest(byte[]).

Java documentation for android.telephony.mbms.DownloadRequest.toByteArray().

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