webkit/src/main/java/androidx/webkit/internal/WebMessagePortImpl.java
@RequiresApi(23)
    public static WebMessageCompat frameworkMessageToCompat(WebMessage message) {
        return new WebMessageCompat(
                message.getData(),
                portsToCompat(message.getPorts()));
    }
/**
     * Convert a {@link WebMessage} into the corresponding support library class
     * {@link WebMessageCompat}.
     */
Convert a  WebMessage into the corresponding support library class
WebMessageCompat.
Convert a WebMessage into the corresponding support library class WebMessageCompat .
@RequiresApi(23)
    public static WebMessageCompat frameworkMessageToCompat(WebMessage message) {
        return new WebMessageCompat(
                message.getData(),
                portsToCompat(message.getPorts()));
    }
@ RequiresApi ( 23 ) public static WebMessageCompat frameworkMessageToCompat ( WebMessage message ) { return new WebMessageCompat ( message . getData ( ) , portsToCompat ( message . getPorts ( ) ) ) ; }
Convert a {@link WebMessage} into the corresponding support library class
 {@link WebMessageCompat}.
Convert a { @link WebMessage } into the corresponding support library class { @link WebMessageCompat } .