import { Injectable } from '@angular/core' ; import { OpenViduLayoutOptions } from '../../layout/openvidu-layout' ; import { LayoutClass } from '../../types/layout-type' ; @ Injectable ( ) export class UtilsServiceMock { constructor ( ) { } toggleFullscreen ( elementId ) { } getOpenViduAvatar ( ) { return 'avatar' ; } handlerScreenShareError ( error ) { } getOpenviduLayoutOptions ( ) { const options = { maxRatio : 3 / 2 , minRatio : 9 / 15 , fixedRatio : false , bigClass : LayoutClass . BIG_ELEMENT , smallClass : LayoutClass . SMALL_ELEMENT , bigPercentage : 0.85 , bigFixedRatio : false , bigMaxRatio : 3 / 2 , bigMinRatio : 9 / 16 , bigFirst : true , animate : true } ; return options ; } generateNickname ( ) { return 'nickname' ; } isFF ( ) { return true ; } isMobile ( ) { return false ; } isAndroid ( ) { return true ; } isIos ( ) { return false ; } showErrorMessage ( header , message , disableClose = false ) { } closeDialog ( ) { } getHTMLElementByClassName ( element , className ) { return null ; } toggleBigElementClass ( element ) { } removeAllBigElementClass ( ) { } }