VP EVENT URL: Difference between revisions
Jump to navigation
Jump to search
Roy Curtis (talk | contribs) new .37 event |
Roy Curtis (talk | contribs) m corrected attr type |
||
Line 3: | Line 3: | ||
|attributes= | |attributes= | ||
{{sdk attribute row|int |avatar_session|Source session ID of the URL request}} | {{sdk attribute row|int |avatar_session|Source session ID of the URL request}} | ||
{{sdk attribute row|int |url_target |Target container to open the URL in}} | |||
{{sdk attribute row|string|url |URL to open}} | {{sdk attribute row|string|url |URL to open}} | ||
|behavior= | |behavior= | ||
* If {{sdk attribute|url}} is a blank string, it should be assumed that the client close the web view for the specified target | * If {{sdk attribute|url}} is a blank string, it should be assumed that the client close the web view for the specified target | ||
}} | }} |
Latest revision as of 18:25, 6 October 2013
Event set and handler snippet
vp_event_set(instance, VP_EVENT_URL, event_url);
void event_url(VPInstance instance) { }
A request for the receiving client to open a URL.
Attributes
Attribute | Usage | |
---|---|---|
VP_AVATAR_SESSION | Source session ID of the URL request | |
VP_URL_TARGET | Target container to open the URL in | |
VP_URL | URL to open |
Behavior
- If
VP_URL
is a blank string, it should be assumed that the client close the web view for the specified target
Examples
- This event has no usage examples; please add at least one to this page