Tizen'de oryantasyon değerini almak için c'ye yerel bir uygulama yazmak istiyorum. Derlenmiş c kodu Tizen telefonunda çalıştırılmalı ve Oryantasyon Değeri almam gerekiyor. i Tizen kaynağından aldığı geri çağırma işleviTizen'de Oryantasyon almak için Geriçağırım işlevi nasıl kullanılır?
int app_cb_broker_appcore_rotation_event(enum appcore_rm rm, void *data)
{
app_device_orientation_cb device_orientation_cb;
device_orientation_cb = app_context.callbacks->device_orientation;
if (device_orientation_cb != NULL)
{
app_device_orientation_e dev_orientation;
dev_orientation = app_convert_appcore_rm(rm);
device_orientation_cb(dev_orientation, app_context.user_data);
}
return 0;
}
ne kadar güncel yönelim değerini almak için bu işlevi kullanmak için mi?