With reference to your question in the other thread, sendIR is a method of com.lge.hardware.IRBlaster.IControl.
IControl doesnt seem to be mentioned in the docs so I suspect the docs are for a different version.
The sample code seems to be OK though.