GXDN: Gurux Developer Network
IGXMedia2 Interface
NamespacesGurux.CommonIGXMedia2
Media component must implement this interface to make communication with GXCom possible.
Members
All Members Methods Properties



Icon Member Description
AvailableOperationModes
Resturns available operation modes of the media.

BytesReceived
Received byte count.

BytesSent
Sent byte count.

Close()()()
Closes the active connection.

Close()()()
Closes the active connection.
(Inherited from IGXMedia.)
Copy(Object)
Copies the content of the media to target media.

Copy(Object)
Copies the content of the media to target media.
(Inherited from IGXMedia.)
DeviceID
Retrieves or sets the device identifier.

Dirty
Returns or sets the value that specifies whether the media have been modified since the last time the media was saved.

Equals(Object)
Determines whether two objects are equal.

Equals(Object)
Determines whether two objects are equal.
(Inherited from IGXMedia.)
GetAvailableLocaleIdentifiers()()()
Retrieves collection of available locale identifiers.

GetInfoWindow(IntPtr, Int32)
Returns Media depending Info window.

GetReplyData(VariantType)
Retrieves data that was received with SendSync method.

GetSettings()()()
Gets Media settings as a XML string.

IsOpen
Checks if the connection is established.

IsOpen
Checks if the connection is established.
(Inherited from IGXMedia.)
IsServer
Determines whether the media is working as a server.

IsShareable
Is Media shareable.

LoadSettings(String, Boolean)
Loads the media settings from a registry.

LoadSettings(String, Boolean)
Loads the media settings from a registry.
(Inherited from IGXMedia.)
LocaleIdentifier
Retrieves or sets used locale identifier. Used language is set with the locale identifier. Use GetAvailableLocaleIdentifiers to query language support. To use default language set value to zero.

MediaType
Returns the type of the media.

MediaTypeAsString
Returns media type as a String.

MediaTypeAsString
Returns media type as a String.
(Inherited from IGXMedia.)
Name
Returns name of the media.

Name
Returns name of the media.
(Inherited from IGXMedia.)
OpenMedia()()()
Opens the media.

OpenMedia()()()
Opens the media.
(Inherited from IGXMedia.)
OperationMode
Operation mode of the media.

Owner
Owner of the component.

Properties(IntPtr)
Shows the media Properties dialog.

Properties(IntPtr)
Shows the media Properties dialog.
(Inherited from IGXMedia.)
ReplyDataSize
The amount of bytes in the reply buffer, after the SendSync method.

ResetByteCounters()()()
Resets BytesReceived and BytesSent counters.

SaveSettings(String, Boolean)
Saves media's configuration settings to registry.

SaveSettings(String, Boolean)
Saves media's configuration settings to registry.
(Inherited from IGXMedia.)
Send(Object%, String)
Sends data asynchronously.
No reply from the receiver, whether or not the operation was successful, is expected.

Send(Object%, String)
Sends data asynchronously.
No reply from the receiver, whether or not the operation was successful, is expected.
(Inherited from IGXMedia.)
SendSync(Object, VariantType, Object, Object, Int32, Int32, Boolean, VariantType, Object%)
Sends data synchronously.
A reply from the receiver, whether the send operation was successful, or if the data needs to be resent, is expected.

SendSyncComplete
Determines if all sync reply data is received. Data is received to the synchronous buffer until SendSyncComplete is set to True.

SetSettings(String)
Sets Media settings as a XML string.

UseDeviceID
Get is device ID offered by media.

WaitMoreReplyData(Object, Int32, Int32, Boolean, VariantType, Object%)
Waits for more reply data After SendSync if whole packet is not received yet.

Validate()()()
Validate Media settings for connection open. Returns table of media properties that must be set before media is valid to open. Return NULL if media is capable to open with these settings.

Assembly: Gurux.Common (Module: Gurux.Common) Version: 5.0.0.1