Beispiel #1
0
        /// <summary>
        /// Query the value of the Audio property.
        /// </summary>
        /// <remarks>This function is threadsafe and can only be called if Subscribe() has been
        /// called and a first eventing callback received more recently than any call
        /// to Unsubscribe().</remarks>
        /// <returns>Value of the Audio property</returns>
        public bool PropertyAudio()
        {
            PropertyReadLock();
            bool val = iAudio.Value();

            PropertyReadUnlock();
            return(val);
        }
 /// <summary>
 /// Get a copy of the value of the Audio property
 /// </summary>
 /// <remarks>Can only be called if EnablePropertyAudio has previously been called.</remarks>
 /// <returns>Value of the Audio property.</returns>
 public bool PropertyAudio()
 {
     if (iPropertyAudio == null)
     {
         throw new PropertyDisabledError();
     }
     return(iPropertyAudio.Value());
 }
Beispiel #3
0
        /// <summary>
        /// Query the value of the Lossless property.
        /// </summary>
        /// <remarks>This function is threadsafe and can only be called if Subscribe() has been
        /// called and a first eventing callback received more recently than any call
        /// to Unsubscribe().</remarks>
        /// <returns>Value of the Lossless property</returns>
        public bool PropertyLossless()
        {
            PropertyReadLock();
            bool val = iLossless.Value();

            PropertyReadUnlock();
            return(val);
        }
Beispiel #4
0
 /// <summary>
 /// Get a copy of the value of the Lossless property
 /// </summary>
 /// <remarks>Can only be called if EnablePropertyLossless has previously been called.</remarks>
 /// <returns>Value of the Lossless property.</returns>
 public bool PropertyLossless()
 {
     if (iPropertyLossless == null)
     {
         throw new PropertyDisabledError();
     }
     return(iPropertyLossless.Value());
 }
 /// <summary>
 /// Get a copy of the value of the Connected property
 /// </summary>
 /// <remarks>Can only be called if EnablePropertyConnected has previously been called.</remarks>
 /// <returns>Value of the Connected property.</returns>
 public bool PropertyConnected()
 {
     if (iPropertyConnected == null)
     {
         throw new PropertyDisabledError();
     }
     return(iPropertyConnected.Value());
 }
 /// <summary>
 /// Get a copy of the value of the Status property
 /// </summary>
 /// <remarks>Can only be called if EnablePropertyStatus has previously been called.</remarks>
 /// <returns>Value of the Status property.</returns>
 public bool PropertyStatus()
 {
     if (iPropertyStatus == null)
     {
         throw new PropertyDisabledError();
     }
     return(iPropertyStatus.Value());
 }
Beispiel #7
0
        /// <summary>
        /// Query the value of the Status property.
        /// </summary>
        /// <remarks>This function is threadsafe and can only be called if Subscribe() has been
        /// called and a first eventing callback received more recently than any call
        /// to Unsubscribe().</remarks>
        /// <returns>Value of the Status property</returns>
        public bool PropertyStatus()
        {
            PropertyReadLock();
            bool val = iStatus.Value();

            PropertyReadUnlock();
            return(val);
        }
Beispiel #8
0
 /// <summary>
 /// Query the value of the Connected property.
 /// </summary>
 /// <remarks>This function is threadsafe and can only be called if Subscribe() has been
 /// called and a first eventing callback received more recently than any call
 /// to Unsubscribe().</remarks>
 /// <returns>Value of the Connected property</returns>
 public bool PropertyConnected()
 {
     PropertyReadLock();
     bool val;
     try
     {
         val = iConnected.Value();
     }
     finally
     {
         PropertyReadUnlock();
     }
     return val;
 }
Beispiel #9
0
        /// <summary>
        /// Query the value of the Lossless property.
        /// </summary>
        /// <remarks>This function is threadsafe and can only be called if Subscribe() has been
        /// called and a first eventing callback received more recently than any call
        /// to Unsubscribe().</remarks>
        /// <returns>Value of the Lossless property</returns>
        public bool PropertyLossless()
        {
            PropertyReadLock();
            bool val;

            try
            {
                val = iLossless.Value();
            }
            finally
            {
                PropertyReadUnlock();
            }
            return(val);
        }
        /// <summary>
        /// Query the value of the Status property.
        /// </summary>
        /// <remarks>This function is threadsafe and can only be called if Subscribe() has been
        /// called and a first eventing callback received more recently than any call
        /// to Unsubscribe().</remarks>
        /// <returns>Value of the Status property</returns>
        public bool PropertyStatus()
        {
            PropertyReadLock();
            bool val;

            try
            {
                val = iStatus.Value();
            }
            finally
            {
                PropertyReadUnlock();
            }
            return(val);
        }
        /// <summary>
        /// Query the value of the ControlEnabled property.
        /// </summary>
        /// <remarks>This function is threadsafe and can only be called if Subscribe() has been
        /// called and a first eventing callback received more recently than any call
        /// to Unsubscribe().</remarks>
        /// <returns>Value of the ControlEnabled property</returns>
        public bool PropertyControlEnabled()
        {
            PropertyReadLock();
            bool val;

            try
            {
                val = iControlEnabled.Value();
            }
            finally
            {
                PropertyReadUnlock();
            }
            return(val);
        }
Beispiel #12
0
        /// <summary>
        /// Query the value of the Audio property.
        /// </summary>
        /// <remarks>This function is threadsafe and can only be called if Subscribe() has been
        /// called and a first eventing callback received more recently than any call
        /// to Unsubscribe().</remarks>
        /// <returns>Value of the Audio property</returns>
        public bool PropertyAudio()
        {
            PropertyReadLock();
            bool val;

            try
            {
                val = iAudio.Value();
            }
            finally
            {
                PropertyReadUnlock();
            }
            return(val);
        }