to top
AFEX APIs
public class

ByteArrayItem

extends Object
implements Parcelable
java.lang.Object
   ↳ com.ardic.android.parcelables.ByteArrayItem

Class Overview

Implementation of Parcelable Interface for Byte Array Item.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<ByteArrayItem> CREATOR
Public Constructors
ByteArrayItem()
ByteArrayItem(byte[] bytes)
Public Methods
int describeContents()
byte[] getBytes()
Returns array of byte data
void readFromParcel(Parcel in)
This method was deprecated in API level 2. No replacement.
void setBytes(byte[] bytes)
Sets array of byte data
void writeToParcel(Parcel dest, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<ByteArrayItem> CREATOR

Added in API level 2

Public Constructors

public ByteArrayItem ()

Added in API level 1

public ByteArrayItem (byte[] bytes)

Added in API level 2

Public Methods

public int describeContents ()

Added in API level 1

Returns
int

public byte[] getBytes ()

Added in API level 1

Returns array of byte data

Returns
byte[] bytes byte array

public void readFromParcel (Parcel in)

Added in API level 1

This method was deprecated in API level 2.
No replacement.

Parameters
in Parcel

public void setBytes (byte[] bytes)

Added in API level 1

Sets array of byte data

Parameters
bytes byte: byte data

public void writeToParcel (Parcel dest, int flags)

Added in API level 1

Parameters
dest Parcel
flags int