-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create and register basic A/V callback classes
- Loading branch information
1 parent
4ffcf56
commit ef0e5d8
Showing
4 changed files
with
74 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
app/src/main/java/im/tox/antox/callbacks/AntoxOnAudioDataCallback.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package im.tox.antox.callbacks; | ||
|
||
import android.content.Context; | ||
|
||
import im.tox.antox.utils.AntoxFriend; | ||
import im.tox.jtoxcore.callbacks.OnAudioDataCallback; | ||
|
||
/** | ||
* Created by Mark Winter on 03/09/14. | ||
*/ | ||
public class AntoxOnAudioDataCallback implements OnAudioDataCallback<AntoxFriend> { | ||
|
||
private Context ctx; | ||
|
||
public AntoxOnAudioDataCallback(Context ctx) { | ||
this.ctx = ctx; | ||
} | ||
|
||
public void execute(int callID, byte[] data) { | ||
|
||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
app/src/main/java/im/tox/antox/callbacks/AntoxOnAvCallbackCallback.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package im.tox.antox.callbacks; | ||
|
||
import android.content.Context; | ||
|
||
import im.tox.antox.utils.AntoxFriend; | ||
import im.tox.jtoxcore.ToxAvCallbackID; | ||
import im.tox.jtoxcore.callbacks.OnAvCallbackCallback; | ||
|
||
/** | ||
* Created by Mark Winter on 03/09/14. | ||
*/ | ||
public class AntoxOnAvCallbackCallback implements OnAvCallbackCallback<AntoxFriend> { | ||
|
||
private Context ctx; | ||
|
||
public AntoxOnAvCallbackCallback(Context ctx) { | ||
this.ctx = ctx; | ||
} | ||
|
||
public void execute(int callID, ToxAvCallbackID callbackID) { | ||
|
||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
app/src/main/java/im/tox/antox/callbacks/AntoxOnVideoDataCallback.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package im.tox.antox.callbacks; | ||
|
||
import android.content.Context; | ||
|
||
import im.tox.antox.utils.AntoxFriend; | ||
import im.tox.jtoxcore.callbacks.OnVideoDataCallback; | ||
|
||
/** | ||
* Created by Mark Winter on 03/09/14. | ||
*/ | ||
public class AntoxOnVideoDataCallback implements OnVideoDataCallback<AntoxFriend> { | ||
|
||
private Context ctx; | ||
|
||
public AntoxOnVideoDataCallback(Context ctx) { | ||
this.ctx = ctx; | ||
} | ||
|
||
public void execute(int callID, byte[] data, int width, int height) { | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters