Change the text color of a SegmentedButton in Android

The following declare works fine to change the backgroud color of a SegmentedButton control:

Declare Sub setBackgroundColor Lib “Object:ctrl:MobileSegmentedButton” (myColor As Integer)
setBackgroundColor(c.ToInteger)

In order to change de text color of this control I tried:
Declare Sub setTextColor Lib “Object:ctrl:MobileSegmentedButton” (myColor As Integer)
setTextColor(c.ToInteger)

and I receive the following error:
A declare Object:ctrl:MobileSegmentedButton.setTextColor is not valid.

Any idea how to do it ?