IToiVideoOutputObserver may be implemented by applications registering with IToiVideoOutputService to asynchronously be notified about activation/deactivation of adaptive video mode rules.
import "IToiVideoOutputObserver.idl";
Public Member Functions | |
oneway void | OnAdaptiveRuleChanged (in IToiVideoOutputService::TToiAdaptiveTransitionSequence transitions) |
oneway void IToiVideoOutputObserver::OnAdaptiveRuleChanged | ( | in IToiVideoOutputService::TToiAdaptiveTransitionSequence | transitions | ) |
Called when at least one set of adaptive rules changes its matched rule.
Whenever a change occurs that results in a different set of matched rules than the ones before the change, OnAdaptiveRuleChanged will be called once and contains data for each rule set that changed. If no rule is matched in a rule set, the member Matched will be false (and ruleName empty) for that index in the sequence.
Rule sets which match the same rule as before the change will not generate any events. Note that if Matched is false, RuleName will be empty.