@azure/communication-react
Version:
React library for building modern communication user experiences utilizing Azure Communication Services
48 lines • 1.46 kB
TypeScript
import { CaptionsCallFeature, TeamsCaptions } from '@azure/communication-calling';
import { Captions } from '@azure/communication-calling';
import { CallContext } from './CallContext';
import { CallIdRef } from './CallIdRef';
/**
* @private
*/
export declare class TeamsCaptionsSubscriber {
private _callIdRef;
private _context;
private _captions;
constructor(callIdRef: CallIdRef, context: CallContext, captions: TeamsCaptions);
private subscribe;
unsubscribe: () => void;
private onCaptionsReceived;
private isCaptionsActiveChanged;
private isCaptionLanguageChanged;
private isSpokenLanguageChanged;
}
/**
* @private
*/
export declare class CaptionsSubscriber {
private _callIdRef;
private _context;
private _captions;
constructor(callIdRef: CallIdRef, context: CallContext, captions: Captions);
private subscribe;
unsubscribe: () => void;
private onCaptionsReceived;
private isCaptionsActiveChanged;
private isSpokenLanguageChanged;
}
/**
* @private
*/
export declare class CaptionsFeatureSubscriber {
private _callIdRef;
private _context;
private _captions;
private _TeamsCaptionsSubscriber?;
private _CaptionsSubscriber?;
constructor(callIdRef: CallIdRef, context: CallContext, captions: CaptionsCallFeature);
private subscribe;
unsubscribe: () => void;
private isCaptionsKindChanged;
}
//# sourceMappingURL=CaptionsSubscriber.d.ts.map