private int sendVODSeekCM ( int position ) { OOBControlMessage oobCtrlMsg = new OOBControlMessage ( ) ; oobCtrlMsg . setTarget ( ISeekableProvider . KEY ) ; oobCtrlMsg . setServiceName ( "seek" ) ; Map < String , Object > paramMap = new HashMap < String , Object > ( 1 ) ; paramMap . put ( "position" , position ) ; oobCtrlMsg . setServiceParamMap ( paramMap ) ; msgInReference . get ( ) . sendOOBControlMessage ( this , oobCtrlMsg ) ; if ( oobCtrlMsg . getResult ( ) instanceof Integer ) { return ( Integer ) oobCtrlMsg . getResult ( ) ; } else { return - 1 ; } }
Send VOD seek control message