Lynx

CustomizedMessage

Encapsulates the debugging message to be sent.

To learn how to send debugging messages, please refer to sendMessage.

Syntax

iOS

CustomizedMessage.h
@interface CustomizedMessage : NSObject

@property(nonatomic, readwrite) NSString *type;
@property(nonatomic, readwrite) NSString *data;

@end

Android

CustomizedMessage.java
public class CustomizedMessage {
  public CustomizedMessage(String type, String data);
}

Parameters

  • type: The type of message to send, such as CDP or other custom message types.
  • data: The message data to send.

Compatibility

LCD tables only load in the browser

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.