ExtensionContext
The context information of the extension.
public class ExtensionContext
{
public bool isValid;
public uint uid;
public string providerName;
public string extensionName;
public ExtensionContext()
{
this.isValid = false;
this.uid = 0;
this.providerName = "";
this.extensionName = "";
}
public ExtensionContext(bool isValid, uint uid, string providerName, string extensionName)
{
this.isValid = isValid;
this.uid = uid;
this.providerName = providerName;
this.extensionName = extensionName;
}
}
Attributes
- isValid
- Whether the uid in ExtensionContext is valid:
true: The uid is valid.false: The uid is invalid.
- uid
- The user ID. 0 represents a local user, while greater than 0 represents a remote user.
- providerName
- The name of the extension provider.
- extensionName
- The name of the extension.