-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
226 additions
and
93 deletions.
There are no files selected for viewing
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
19 changes: 19 additions & 0 deletions
19
android/src/io/jmrtc/android/event/AddSurfaceViewEvent.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,19 @@ | ||
package io.jmrtc.android.event; | ||
|
||
public class AddSurfaceViewEvent { | ||
|
||
private String username ; | ||
|
||
public AddSurfaceViewEvent(String username) { | ||
this.username = username; | ||
} | ||
|
||
public String getUsername() { | ||
return username; | ||
} | ||
|
||
public void setUsername(String username) { | ||
this.username = username; | ||
} | ||
|
||
} |
19 changes: 19 additions & 0 deletions
19
android/src/io/jmrtc/android/event/RemoveSurfaceViewEvent.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,19 @@ | ||
package io.jmrtc.android.event; | ||
|
||
|
||
public class RemoveSurfaceViewEvent { | ||
|
||
private String username ; | ||
|
||
public RemoveSurfaceViewEvent(String username) { | ||
this.username = username; | ||
} | ||
|
||
public String getUsername() { | ||
return username; | ||
} | ||
|
||
public void setUsername(String username) { | ||
this.username = username; | ||
} | ||
} |
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
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,36 @@ | ||
package io.jmrtc.android.utils; | ||
|
||
|
||
import android.content.Context; | ||
import android.util.Log; | ||
import android.widget.Toast; | ||
|
||
public class Logger { | ||
|
||
public static boolean SHUTDOWNLOG; | ||
public static boolean SHUTDOWNTOAST; | ||
|
||
public static void i(String tag, String msg) { | ||
if (!SHUTDOWNLOG) { | ||
Log.i(tag, msg); | ||
} | ||
} | ||
|
||
public static void d(String tag, String msg) { | ||
if (!SHUTDOWNLOG) { | ||
Log.d(tag, msg); | ||
} | ||
} | ||
|
||
public static void w(String tag, String msg) { | ||
if (!SHUTDOWNLOG) { | ||
Log.w(tag, msg); | ||
} | ||
} | ||
|
||
public static void toast(Context context, String msg) { | ||
if (!SHUTDOWNTOAST) { | ||
Toast.makeText(context, msg, Toast.LENGTH_SHORT).show(); | ||
} | ||
} | ||
} |
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