Back to project page snakk-ads-android-sample-app.
The source code is released under:
Copyright (c) 2012, Snakk! Media Group All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are m...
If you think the Android project snakk-ads-android-sample-app listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.snakk.vastsdk; //from w ww. ja va2 s . co m import android.os.Parcel; import android.os.Parcelable; public enum TVASTAdType implements Parcelable { VIDEO; @Override public int describeContents() { return 0; } @Override public void writeToParcel(final Parcel dest, final int flags) { dest.writeInt(ordinal()); } public static final Creator<TVASTAdType> CREATOR = new Creator<TVASTAdType>() { @Override public TVASTAdType createFromParcel(final Parcel source) { return TVASTAdType.values()[source.readInt()]; } @Override public TVASTAdType[] newArray(final int size) { return new TVASTAdType[size]; } }; }