import { EventInMsg } from './EventInMsg' ; import { ScanCodeInfo } from './ScanCodeInfo' ; export class InMenuEvent extends EventInMsg { public static EVENT_INMENU_CLICK : string = 'CLICK' ; public static EVENT_INMENU_VIEW : string = 'VIEW' ; public static EVENT_INMENU_SCANCODE_PUSH : string = 'scancode_push' ; public static EVENT_INMENU_scancode_waitmsg : string = 'scancode_waitmsg' ; public static EVENT_INMENU_PIC_SYSPHOTO : string = 'pic_sysphoto' ; public static EVENT_INMENU_PIC_PHOTO_OR_ALBUM : string = 'pic_photo_or_album' ; public static EVENT_INMENU_PIC_WEIXIN : string = 'pic_weixin' ; public static EVENT_INMENU_LOCATION_SELECT : string = 'location_select' ; public static EVENT_INMENU_MEDIA_ID : string = 'media_id' ; public static EVENT_INMENU_VIEW_LIMITED : string = 'view_limited' ; public static EVENT_INMENU_VIEW_MINIPROGRAM : string = 'view_miniprogram' ; private eventKey : string ; private scanCodeInfo : ScanCodeInfo ; private menuId : string ; constructor ( toUserName , fromUserName , createTime , event ) { super ( toUserName , fromUserName , createTime , event ) ; } public get getEventKey ( ) : string { return this . eventKey ; } public set setEventKey ( eventKey ) { this . eventKey = eventKey ; } public get getScanCodeInfo ( ) : ScanCodeInfo { return this . scanCodeInfo ; } public set setScanCodeInfo ( scanCodeInfo ) { this . scanCodeInfo = scanCodeInfo ; } public get getMenuId ( ) : string { return this . menuId ; } public set setMenuId ( menuId ) { this . menuId = menuId ; } }