|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.skype.SkypeClient
public final class SkypeClient
Main view (not model) class of the Skype Java API. Use this class staticly to do view actions (show option dialogs or switch tabs, etc).
Skype
Nested Class Summary | |
---|---|
static class |
SkypeClient.Button
Enumeration of keypad keys. |
static class |
SkypeClient.OptionsPage
Enumeration of the OPTIONS page. |
static class |
SkypeClient.WindowState
|
Method Summary | |
---|---|
static EventMessage |
addEventMessage(String caption)
|
static EventMessage |
addEventMessage(String caption,
String hint)
|
static MenuItem |
addMenuItem(MenuItem.Context context,
String caption,
String hint,
File iconFile,
boolean enabled,
String targetSkypeId,
boolean multipleContactsEnabled)
|
static SkypeClient.WindowState |
getMainWindowState()
|
static String |
getUILanguageByISOCode()
|
static File |
getWallPaper()
|
static void |
hideSkypeWindow()
Remove focus on Skype client window, not any Java window. |
static void |
openVideoOptionsWindow()
Open the Video options window of the Skype client. |
static void |
openVideoTestWindow()
Open the Test video dialog of the Skype client. |
static void |
pressButton(SkypeClient.Button button)
Press a button in the Skype client window. |
static void |
releaseButton(SkypeClient.Button button)
Release a pressed button in the Skype client window. |
static void |
removeEventMessage(EventMessage eventMessage)
|
static void |
removeMenuItem(MenuItem menuItem)
|
static void |
setMainWindowState(SkypeClient.WindowState newValue)
|
static boolean |
setSilentMode(boolean on)
Sets the Skype silent mode. |
static void |
setUILanguageByISOCode(String newValue)
|
static void |
setWallPaper(File newValue)
|
static void |
showAddFriendWindow()
Open the "Add friend" window of Skype client. |
static void |
showAddFriendWindow(String skypeId)
Open the "Add friend" window if skypeId exist. |
static void |
showBlockedUsersWindow()
Show blacked users window of the Skype client. |
static void |
showCallHistoryTab()
Focus the Call history tab of the Skype client. |
static void |
showChatWindow(String skypeId)
Open a chatwindow to another Skype user. |
static void |
showChatWindow(String skypeId,
String message)
Open a chatwindow to another skype user and send a message. |
static void |
showConferenceWindow()
Open the conference window of the Skype client. |
static void |
showContactsTab()
Focus the Contacts tab of the Skype client window. |
static void |
showDialPadTab()
Focus dialpad tab on the Skype client window. |
static void |
showFileTransferWindow(String skypeId)
Open File transfer window ten send a file to another Skype user. |
static void |
showFileTransferWindow(String[] skypeIds)
Show the file transfer window to send a file to several other Skype users. |
static void |
showFileTransferWindow(String[] skypeIds,
File folder)
Show file transfer window with a specific Folder to send a file to multiple Skype users. |
static void |
showFileTransferWindow(String skypeId,
File folder)
Show file transfer windows with a specific folder to send a file to another Skype user. |
static void |
showGettingStartedWindow()
Show the getting started window of the Skype client. |
static void |
showImportContactsWindow()
Show import contacts window of Skype client. |
static void |
showOptionsWindow(SkypeClient.OptionsPage page)
Open the Options window of the Skype Client. |
static void |
showProfileWindow()
Open the Skype client profile window. |
static void |
showRequestAuthorizationWindow(String skypeId)
Show the request authorisation window for a Skype user ID. |
static void |
showSearchWindow()
Open the search window of the Skype Client. |
static void |
showSendContactsWindow()
Open send contacts window. |
static void |
showSkypeWindow()
Put focus on the Skype client window, not any Java window. |
static void |
showUserInformationWindow(String skypeId)
Open the User Information window with the info on a Skype user. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void showSkypeWindow() throws SkypeException
SkypeException
- when connection has gone bad or ERROR reply.public static void hideSkypeWindow() throws SkypeException
SkypeException
- when connection has gone bad or ERROR reply.public static void showAddFriendWindow() throws SkypeException
SkypeException
- when connection has gone bad or ERROR reply.public static void showAddFriendWindow(String skypeId) throws SkypeException
skypeId
- the Skype ID to check before opening the window.
SkypeException
- when connection has gone bad or ERROR reply.public static void showChatWindow(String skypeId) throws SkypeException
skypeId
- The user to open a chat with.
SkypeException
- when connection has gone bad or ERROR reply.public static void showChatWindow(String skypeId, String message) throws SkypeException
skypeId
- The other user to chat with.message
- The message to send.
SkypeException
- when connection has gone bad or ERROR reply.public static void showFileTransferWindow(String skypeId) throws SkypeException
skypeId
- The user to send the file to.
SkypeException
- when connection has gone bad or ERROR reply.public static void showFileTransferWindow(String skypeId, File folder) throws SkypeException
skypeId
- the user to send the file to.folder
- the folder to show in the window.
SkypeException
- when connection has gone bad or ERROR reply.public static void showFileTransferWindow(String[] skypeIds) throws SkypeException
skypeIds
- multiple Skype users to send file to.
SkypeException
- when connection has gone bad or ERROR reply.public static void showFileTransferWindow(String[] skypeIds, File folder) throws SkypeException
skypeIds
- multiple Skype users to send file to.folder
- the folder to open with the dialog.
SkypeException
- when connection has gone bad or ERROR reply.public static void showProfileWindow() throws SkypeException
SkypeException
- when connection has gone bad or ERROR reply.public static void showUserInformationWindow(String skypeId) throws SkypeException
skypeId
- The skype user to show.
SkypeException
- when connection has gone bad or ERROR reply.public static void showConferenceWindow() throws SkypeException
SkypeException
- when connection has gone bad or ERROR reply.public static void showSearchWindow() throws SkypeException
SkypeException
- when connection has gone bad or ERROR reply.public static void showOptionsWindow(SkypeClient.OptionsPage page) throws SkypeException
page
- the page to ope in front.
SkypeException
- when connection has gone bad or ERROR reply.SkypeClient.OptionsPage
public static void showCallHistoryTab() throws SkypeException
SkypeException
- when connection has gone bad or ERROR reply.public static void showContactsTab() throws SkypeException
SkypeException
- when connection has gone bad or ERROR reply.public static void showDialPadTab() throws SkypeException
SkypeException
- when connection has gone bad or ERROR reply.public static void showSendContactsWindow() throws SkypeException
SkypeException
- when connection has gone bad or ERROR reply.public static void showBlockedUsersWindow() throws SkypeException
SkypeException
- when connection has gone bad or ERROR reply.public static void showImportContactsWindow() throws SkypeException
SkypeException
- when connection has gone bad or ERROR reply.public static void showGettingStartedWindow() throws SkypeException
SkypeException
- when connection has gone bad or ERROR reply.public static void showRequestAuthorizationWindow(String skypeId) throws SkypeException
skypeId
- the User to ask authorisation for.
SkypeException
- when connection has gone bad or ERROR reply.public static void pressButton(SkypeClient.Button button) throws SkypeException
button
- The button to press.
SkypeException
- when connection has gone bad or ERROR reply.SkypeClient.Button
public static void releaseButton(SkypeClient.Button button) throws SkypeException
button
- the button to release.
SkypeException
- when connection has gone bad or ERROR reply.SkypeClient.Button
public static void openVideoTestWindow() throws SkypeException
SkypeException
- when connection has gone bad or ERROR reply.public static void openVideoOptionsWindow() throws SkypeException
SkypeException
- when connection has gone bad or ERROR reply.public static String getUILanguageByISOCode() throws SkypeException
SkypeException
public static void setUILanguageByISOCode(String newValue) throws SkypeException
SkypeException
public static File getWallPaper() throws SkypeException
SkypeException
public static void setWallPaper(File newValue) throws SkypeException
SkypeException
public static boolean setSilentMode(boolean on) throws SkypeException
on
- if true turn on the silent mode.
SkypeException
- when connection has gone bad or ERROR reply.public static EventMessage addEventMessage(String caption) throws SkypeException
SkypeException
public static EventMessage addEventMessage(String caption, String hint) throws SkypeException
SkypeException
public static void removeEventMessage(EventMessage eventMessage) throws SkypeException
SkypeException
public static MenuItem addMenuItem(MenuItem.Context context, String caption, String hint, File iconFile, boolean enabled, String targetSkypeId, boolean multipleContactsEnabled) throws SkypeException
SkypeException
public static void removeMenuItem(MenuItem menuItem) throws SkypeException
SkypeException
public static void setMainWindowState(SkypeClient.WindowState newValue) throws SkypeException
SkypeException
public static SkypeClient.WindowState getMainWindowState() throws SkypeException
SkypeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |