AMI C API Method Functions This chapter describes the AMI C API method functions. A method can return data and or perform a task. AMI methods can accept input parameters and return output parameters as required by the method. Handle-based functions are provided to define AMI methods for a specific AMI session. Through these AMI methods, the AMI manager monitors and manages your AMI application. Topics • Method Functions Summary Method Functions Summary This table summarizes the AMI C API method functions. These functions are described in the following sections. Function Description Page ami_MethodCreate() Creates a synchronous AMI method and adds it to the specified AMI session. 217 ami_AsyncMethodCreate() Creates an asynchronous AMI method and adds it to the specified AMI session. 218 ami_MethodGetName() Returns the name of the specified method. 219 ami_MethodGetHelp() Returns the textual description of the specified method. 220 ami_MethodGetUserData() Returns the user data of the specified method. 221 ami_MethodSetIndex() Specifies which return parameters to use as the index(es) for methods that return tabular data. 222