Step8. PIP (Picture In Picture)

    Step8. PIP (Picture In Picture)


    Article summary

    While watching a broadcast, you can switch to Picture-in-Picture (PIP) mode to perform other tasks.


    Set the screen ratio for PIP mode

    If the screen ratio for PIP mode is not set, it defaults to a 9:16 ratio.

    /*
    ShopLivePIPRatio.RATIO_1X1
    ShopLivePIPRatio.RATIO_1X2
    ShopLivePIPRatio.RATIO_2X3
    ShopLivePIPRatio.RATIO_3X4
    ShopLivePIPRatio.RATIO_9X16
    */
    ShopLive.setPIPRatio(ShopLivePIPRatio.RATIO_9X16)