browser/src/main/java/androidx/browser/browseractions/BrowserActionsIntent.java
public static void openBrowserAction(Context context, Uri uri, int type,
            ArrayList<BrowserActionItem> items, PendingIntent pendingIntent) {
        BrowserActionsIntent intent = new BrowserActionsIntent.Builder(context, uri)
                .setUrlType(type)
                .setCustomItems(items)
                .setOnItemSelectedAction(pendingIntent)
                .build();
        launchIntent(context, intent.getIntent());
    }
/**
     * Construct a BrowserActionsIntent with custom settings and launch it to open a Browser Actions
     * menu.
     * @param context The context requesting for a Browser Actions menu.
     * @param uri The url for Browser Actions menu.
     * @param type The type of the url for context menu to be opened.
     * @param items List of custom items to be added to Browser Actions menu.
     * @param pendingIntent The PendingIntent to be launched when a browser specified menu item is
     * selected.
     */
Construct a BrowserActionsIntent with custom settings and launch it to open a Browser Actions
menu.
@param context The context requesting for a Browser Actions menu.
@param uri The url for Browser Actions menu.
@param type The type of the url for context menu to be opened.
@param items List of custom items to be added to Browser Actions menu.
@param pendingIntent The PendingIntent to be launched when a browser specified menu item is
selected.
Construct a BrowserActionsIntent with custom settings and launch it to open a Browser Actions menu . @param context The context requesting for a Browser Actions menu . @param uri The url for Browser Actions menu . @param type The type of the url for context menu to be opened . @param items List of custom items to be added to Browser Actions menu . @param pendingIntent The PendingIntent to be launched when a browser specified menu item is selected .
public static void openBrowserAction(Context context, Uri uri, int type,
            ArrayList<BrowserActionItem> items, PendingIntent pendingIntent) {
        BrowserActionsIntent intent = new BrowserActionsIntent.Builder(context, uri)
                .setUrlType(type)
                .setCustomItems(items)
                .setOnItemSelectedAction(pendingIntent)
                .build();
        launchIntent(context, intent.getIntent());
    }
public static void openBrowserAction ( Context context , Uri uri , int type , ArrayList < BrowserActionItem > items , PendingIntent pendingIntent ) { BrowserActionsIntent intent = new BrowserActionsIntent . Builder ( context , uri ) . setUrlType ( type ) . setCustomItems ( items ) . setOnItemSelectedAction ( pendingIntent ) . build ( ) ; launchIntent ( context , intent . getIntent ( ) ) ; }
Construct a BrowserActionsIntent with custom settings and launch it to open a Browser Actions
 menu.
Construct a BrowserActionsIntent with custom settings and launch it to open a Browser Actions menu .