|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SessionSetupListener
A listener class that receives notification of events that occur during Session
requests.
SessionSetupListeners
are passed into the Session.sendRequest()
method and will receive events
relevant to that request.
Method Summary | ||
---|---|---|
|
void |
sessionRequestAccepted(Session session)
Indicates that a Session request has been accepted by a remote user. |
|
void |
sessionRequestDelivered(Session session)
Indicates that a Session request has been delivered to the remote application. |
|
void |
sessionRequestFailed(Session session,
int reason)
Indicates that a Session request has failed. |
|
void |
sessionRequestRefused(Session session)
Indicates that a Session request has been refused by the remote user. |
Method Detail |
---|
void sessionRequestAccepted(Session session)
Session
request has been accepted by a remote user. The Session
should be open
and ready to use for communication with the remote application.
session
- The Session
that was accepted.void sessionRequestDelivered(Session session)
Session
request has been delivered to the remote application.
session
- The Session
whose request has been delivered.void sessionRequestFailed(Session session, int reason)
Session
request has failed. This could be because the remote user does not have
the correct application installed.
session
- The Session
whose request has failed.reason
- The reason for the failure.void sessionRequestRefused(Session session)
Session
request has been refused by the remote user.
session
- The Session
whose request has been refused.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.