WebUICachedFileUpdaterActivatedEventArgs.splashScreen property

Applies to Windows and Windows Phone

Gets the splash screen object that provides information about the transition from the splash screen to the activated app.

Syntax


var splashScreen = webUICachedFileUpdaterActivatedEventArgs.splashScreen;

Property value

Type: SplashScreen

The object that provides splash screen information.

Examples

The Splash screen sample demonstrates how to retrieve a splashScreen object in its activated event handler, if the app was launched:



// Identify and respond to all app activated events.
WinJS.Application.onactivated = function (eventObject) {

    // App was launched
    if (eventObject.detail.kind === Windows.ApplicationModel.Activation.ActivationKind.launch) {
        // Retrieve splash screen object
        splash = eventObject.detail.splashScreen;
        
        // Add code get image coordinates or listen for the dismissed event

        WinJS.UI.processAll();
    }
    // Add code to respond to other activated event types
};

In the sample, eventObject is an object provides information about the activated event. In the case of a ActivationKind.launch activated event, the eventObject is a WebUILaunchActivatedEventArgs object.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.WebUI

Metadata

Windows.winmd

See also

WebUICachedFileUpdaterActivatedEventArgs

 

 

Show:
© 2014 Microsoft