callback
- Ejemplos
El callback es un método del objeto widget en sí. | The callback is a method of the widget object itself. |
En principio cada ventana tiene su propia función callback. | In principle every window has its own callback function. |
La función callback idle() es ideal para animaciones de programas. | The idle() callback function is ideal for programming animations. |
Si la actividad incluye fragmentos, esta recibe el callback primero. | If your activity includes fragments, the activity receives this callback first. |
La acción votar se usa para el callback Ajax. | The votes action is used for the Ajax callback. |
Para enlazar un servicio, debes implementar el método callback onBind(). | To provide binding for a service, you must implement the onBind() callback method. |
De hecho, el ejemplo anterior implementa el patrón callback, a medias. | In fact, the above example implements the callback pattern, in half. |
La aceleración se obtiene mediante la función 'callback' accelerometerSuccess. | The acceleration is returned using the accelerometerSuccess callback function. |
Agrega una función callback que operará al generarse la barra principal de navegación. | Add a callback function which will run when generating the top navigation. |
Únicamente la ventana de más alto nivel en nuestra demo tiene una función callback. | Only the top level window in our demo has a keyboard callback. |
El callback recibe el mismo código de solicitud que le pasaste a requestPermissions(). | The callback is passed the same request code you passed to requestPermissions(). |
LA función callback display() siempre se invoca al menos una vez antes que idle(). | The display() callback function always gets invoked at least once, before idle(). |
Esto es porque el callback no se dispara en el hilo principal de UI. | This is because the callback is not triggered on the main UI thread. |
Pero, ¿qué es una función callback? | First of all, what is a callback function? |
Suponga que desea encontrar el texto del elemento callback en el mismo listitem. | Suppose that you want to find the text for the callback element in the same listitem. |
El callback es una función opcional que se llama cuando se completa el efecto. | The callback is an optional function that is called when the effect is completed. |
La ServiceConnection incluye un método callback al que el sistema llama para enviar el IBinder. | The ServiceConnection includes a callback method that the system calls to deliver the IBinder. |
El servicio implementa un Handler que recibe un callback por cada llamada de un cliente. | The service implements a Handler that receives a callback for each call from a client. |
En el patrón callback, se pasa una función como un argumento a un método asíncrono. | In the callback pattern, a function is passed as an argument to an asynchronous method. |
Cuando un error ocurra, se pasara un objeto ContactError a la función 'callback' contactError. | A ContactError object is returned to the contactError callback when an error occurs. |
Palabra al azar
¡Tirar los dados y aprender una palabra nueva ahora!
¿Quieres aprender inglés?
¡Aprende inglés gratis!