You have to understand how $B$ acts on $Hom_A(V_i, V)$ for an irreducible representation $V_i$ of $A$. This depends on your context.
If you can do that then the evaluation map induces an iso
$\oplus_i V_i \otimes Hom_A(V_i, V) \to V$.
You have to understand how $B$ acts on $Hom_A(V_i, V)$ for an irreducible representation $V_i$ of $A$. This depends on your context.
If you can do that then the evaluation map induces an iso
$\oplus_i V_i \otimes Hom_A(V_i, V) \to V$.