예제 #1
0
        public override bool Equals(object obj)
        {
            UpnpAvSeekMode mode = obj as UpnpAvSeekMode;

            if (mode != null && this == mode)
            {
                return(true);
            }
            return(false);
        }
예제 #2
0
 public void Seek(UInt32 instanceId, UpnpAvSeekMode unit, string target)
 {
     // actual target type is unit-dependent
     // "...depending on the actual seek mode used, it must contains string
     // representations of values of UPnP types ‘ui4’ (ABS_COUNT, REL_COUNT,
     // TRACK_NR, TAPE-INDEX, FRAME), ‘time’ (ABS_TIME, REL_TIME) or ‘float‘
     // (CHANNEL_FREQ, in Hz). Supported ranges of these integer, time or
     // float values are device-dependent."
     _seekAction.InvokeAction(new List <object> {
         instanceId, unit.ToString(), target
     });
 }
예제 #3
0
 public void Seek(UInt32 instanceId, UpnpAvSeekMode unit, string target)
 {
   // actual target type is unit-dependent
   // "...depending on the actual seek mode used, it must contains string
   // representations of values of UPnP types ‘ui4’ (ABS_COUNT, REL_COUNT,
   // TRACK_NR, TAPE-INDEX, FRAME), ‘time’ (ABS_TIME, REL_TIME) or ‘float‘
   // (CHANNEL_FREQ, in Hz). Supported ranges of these integer, time or
   // float values are device-dependent."
   _seekAction.InvokeAction(new List<object> { instanceId, unit.ToString(), target });
 }