Dela via


ContactPanel.LaunchFullAppRequested Event

Definition

Occurs when the user clicks the Launch Full App button in the Contact Panel.

// Register
event_token LaunchFullAppRequested(TypedEventHandler<ContactPanel, ContactPanelLaunchFullAppRequestedEventArgs const&> const& handler) const;

// Revoke with event_token
void LaunchFullAppRequested(event_token const* cookie) const;

// Revoke with event_revoker
ContactPanel::LaunchFullAppRequested_revoker LaunchFullAppRequested(auto_revoke_t, TypedEventHandler<ContactPanel, ContactPanelLaunchFullAppRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<ContactPanel,ContactPanelLaunchFullAppRequestedEventArgs> LaunchFullAppRequested;
function onLaunchFullAppRequested(eventArgs) { /* Your code */ }
contactPanel.addEventListener("launchfullapprequested", onLaunchFullAppRequested);
contactPanel.removeEventListener("launchfullapprequested", onLaunchFullAppRequested);
- or -
contactPanel.onlaunchfullapprequested = onLaunchFullAppRequested;
Public Custom Event LaunchFullAppRequested As TypedEventHandler(Of ContactPanel, ContactPanelLaunchFullAppRequestedEventArgs) 

Event Type

Windows requirements

App capabilities
contactsSystem

Remarks

Handle this event to provide your users with a smoother experience. For example, your app could handle this event to ensure that the full app continues playing a video that users start in the Contact Panel, or open a message that users started reading in the Contact Panel.

If you don’t handle this event, or if you handle this event, but you don’t set the Handled property of the ContactPanelLaunchFullAppRequestedEventArgs property to true, your app starts in it’s default state.

Applies to