mirror of
				https://github.com/valentineus/webos-service-types.git
				synced 2025-11-03 22:19:45 +03:00 
			
		
		
		
	Finished class "Message" structure
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
		
							
								
								
									
										35
									
								
								dist/message.d.ts
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								dist/message.d.ts
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,35 @@
 | 
			
		||||
import { ActivityManager } from "./activity-manager";
 | 
			
		||||
import { Service } from "./service";
 | 
			
		||||
 | 
			
		||||
export declare class Message {
 | 
			
		||||
	// @todo Need to "palmbus"
 | 
			
		||||
	public constructor(message: any, handle: any, activityManager: ActivityManager, service: Service);
 | 
			
		||||
 | 
			
		||||
	public readonly activityManager: ActivityManager;
 | 
			
		||||
 | 
			
		||||
	public readonly category: string;
 | 
			
		||||
 | 
			
		||||
	// @todo Need to "palmbus"
 | 
			
		||||
	public readonly handle: any;
 | 
			
		||||
 | 
			
		||||
	public readonly isSubscription: boolean;
 | 
			
		||||
 | 
			
		||||
	public readonly ls2Message: any;
 | 
			
		||||
 | 
			
		||||
	// @todo Need to "palmbus"
 | 
			
		||||
	public readonly method: string;
 | 
			
		||||
 | 
			
		||||
	public readonly payload: Record<string, any>;
 | 
			
		||||
 | 
			
		||||
	public readonly sender: string;
 | 
			
		||||
 | 
			
		||||
	public readonly service: Service;
 | 
			
		||||
 | 
			
		||||
	public readonly token: string;
 | 
			
		||||
 | 
			
		||||
	public readonly uniqueToken: string;
 | 
			
		||||
 | 
			
		||||
	public cancel(response: Record<string, any>): void;
 | 
			
		||||
 | 
			
		||||
	public respond(response: Record<string, any>): boolean;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user