Gradient colour for StatusBar?

Is there a way to make the native StatusBar background colour a gradient?

I have tried the following with no success:

statusBar.backgroundColorByHexString('linear-gradient(to left, #00bee4 0%, #0091d2 100%)');