|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.skype.tutorial.step7.Tutorial_7
public class Tutorial_7
Getting Started With SkypeKit: Tutorial Application, Step 7. In Step 6, we wrote a SkypeKit dialer that took a Skype Name from a command-line argument and initiated a voice call. In this step, we will initiate a conference with at least two other parties. This example illustrates a simple SkypeKit-based program that:
Conversation.AddConsumers
| Field Summary | |
|---|---|
static int |
ACCOUNT_NAME_IDX
Index of the account name in the command line argument list. |
static int |
ACCOUNT_PWORD_IDX
Index of the account password in the command line argument list. |
static java.lang.String |
APPTOKEN_OPT_KEY
Key introducing/identifying the pathname of an AppToken file among the optional command line arguments. |
static int |
FIRST_TGT_ARG_IDX
Index of the first (required) call target argument in the command line argument list. |
static java.lang.String |
MY_CLASS_TAG
Info/Debug console output message prefix/identifier tag. |
private static AppToken |
myAppToken
|
private static java.lang.String[] |
myCallTargets
Call target names. |
private static MySession |
mySession
|
private static Tutorial_7 |
myTutorial
"Extraneous" instance of this tutorial so we can invoke our business logic method from main(String[]) without having to declare it as being "static". |
static int |
OPT_ARG_CNT
Number of optional arguments in the command line argument list. |
static int |
REQ_ARG_CNT
Number of required arguments in the command line argument list. |
| Constructor Summary | |
|---|---|
Tutorial_7()
|
|
| Method Summary | |
|---|---|
(package private) void |
doMakeConferenceCall(MySession mySession,
java.lang.String[] myCallTargets)
Conference with at least two other participants. |
static boolean |
isRinging(com.skype.api.Participant participant)
Dynamically determine if a particular participant's "phone" is ringing. |
static void |
main(java.lang.String[] args)
Main loop. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String MY_CLASS_TAG
public static final int ACCOUNT_NAME_IDX
public static final int ACCOUNT_PWORD_IDX
public static final int FIRST_TGT_ARG_IDX
public static final int REQ_ARG_CNT
public static final java.lang.String APPTOKEN_OPT_KEY
Any optional AppToken path name must be prefixed with this key string to distinguish it from any call target.
For example:
Tutorial_7 myAccountName myAccountPword callTgt1 callTgt2 ... -atk:/MyHome/MyCredentials
public static final int OPT_ARG_CNT
private static java.lang.String[] myCallTargets
private static AppToken myAppToken
private static MySession mySession
private static Tutorial_7 myTutorial
main(String[]) without having to declare it as being "static".
| Constructor Detail |
|---|
public Tutorial_7()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - APPTOKEN_OPT_KEY).
void doMakeConferenceCall(MySession mySession,
java.lang.String[] myCallTargets)
mySession - Populated session objectmyCallTargets - The Skype Names of the people to conference with.public static boolean isRinging(com.skype.api.Participant participant)
participant - The target participant.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||