@SuppressWarnings({"unused", "WeakerAccess"})
    public void showAppInbox(CTInboxStyleConfig styleConfig){

            synchronized (inboxControllerLock) {
                if (ctInboxController == null) {
                    getConfigLogger().debug(getAccountId(), "Notification Inbox not initialized");
                    return;
                }
            }

            // make styleConfig immutable
            final CTInboxStyleConfig _styleConfig = new CTInboxStyleConfig(styleConfig);

            Intent intent = new Intent(context, CTInboxActivity.class);
            intent.putExtra("styleConfig", _styleConfig);
            intent.putExtra("config", config);
            try {
                Activity currentActivity = getCurrentActivity();
                if (currentActivity == null) {
                    throw new IllegalStateException("Current activity reference not found");
                }
                currentActivity.startActivity(intent);
                Logger.d("Displaying Notification Inbox");

            } catch (Throwable t) {
                Logger.v("Please verify the integration of your app." +
                        " It is not setup to support Notification Inbox yet.", t);
            }

    }
@ SuppressWarnings ( { "unused" , "WeakerAccess" } ) public void showAppInbox ( CTInboxStyleConfig styleConfig ) { synchronized ( inboxControllerLock ) { if ( ctInboxController == null ) { getConfigLogger ( ) . debug ( getAccountId ( ) , "Notification Inbox not initialized" ) ; return ; } } final CTInboxStyleConfig _styleConfig = new CTInboxStyleConfig ( styleConfig ) ; Intent intent = new Intent ( context , CTInboxActivity . class ) ; intent . putExtra ( "styleConfig" , _styleConfig ) ; intent . putExtra ( "config" , config ) ; try { Activity currentActivity = getCurrentActivity ( ) ; if ( currentActivity == null ) { throw new IllegalStateException ( "Current activity reference not found" ) ; } currentActivity . startActivity ( intent ) ; Logger . d ( "Displaying Notification Inbox" ) ; } catch ( Throwable t ) { Logger . v ( "Please verify the integration of your app." + " It is not setup to support Notification Inbox yet." , t ) ; } }
Opens {@link CTInboxActivity} to display Inbox Messages
@param styleConfig {@link CTInboxStyleConfig} configuration of various style parameters for the {@link CTInboxActivity}