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 w w. j av a2s.c om*/ import android.view.ViewGroup; public class TVASTCompanionAdSlot { private ViewGroup mContainer; private int mWidth; private int mHeight; public ViewGroup getContainer() { return mContainer; } public void setContainer(ViewGroup container) { mContainer = container; } public int getWidth() { return mWidth; } public void setWidth(int width) { mWidth = width; } public int getHeight() { return mHeight; } public void setHeight(int height) { mHeight = height; } public void setSize(int width, int height) { mWidth = width; mHeight = height; } public TVASTCompanionAdSlot() { mWidth = 0; mHeight = 0; mContainer = null; } }