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.player; /*from w ww . ja v a 2 s . co m*/ import android.widget.VideoView; public interface TVASTPlayer { public interface TVASTAdPlayerListener { void onVideoClick(TVASTPlayer player); void onVideoComplete(TVASTPlayer player); void onVideoError(TVASTPlayer player); void onVideoPause(TVASTPlayer player); void onVideoPlay(TVASTPlayer player); void onVideoProgress(TVASTPlayer player, int current, int max); void onVideoResume(TVASTPlayer player); void onVideoVolumeChanged(TVASTPlayer player, int volume); } public void addCallback(TVASTAdPlayerListener callback); public void playAd(String url); public void removeCallback(TVASTAdPlayerListener callback); public void stopAd(); public VideoView getVideoView(); }