PreviewIsEnabled Method (IMPreview)
channel ID. By default use empty string
indicates whether audio preview is enabled
indicates whether video preview is enabled
Gets information about whether preview is enabled
Syntax
Sub PreviewIsEnabled( _
   ByVal _bsChannelID As String, _
   ByRef _pbEnabledAudio As Integer, _
   ByRef _pbEnabledVideo As Integer _
) 
void PreviewIsEnabled( 
   string _bsChannelID,
   out int _pbEnabledAudio,
   out int _pbEnabledVideo
)
procedure PreviewIsEnabled( 
    _bsChannelID: String;
   Out  _pbEnabledAudio: Integer;
   Out  _pbEnabledVideo: Integer
); 
void PreviewIsEnabled( 
   BSTR* _bsChannelID,
   [PARAMFLAG::Out] int _pbEnabledAudio,
   [PARAMFLAG::Out] int _pbEnabledVideo
) 

Parameters

_bsChannelID
channel ID. By default use empty string
_pbEnabledAudio
indicates whether audio preview is enabled
_pbEnabledVideo
indicates whether video preview is enabled
Example

Here is example of how to check whether preview is enabled:

int isAudio;
int isVideo;
m_objPreview.PreviewIsEnabled("", out isAudio, out isVideo);
See Also

Reference

IMPreview Interface
IMPreview Members