コード例 #1
0
ファイル: Interop.Place.cs プロジェクト: yunmiha/TizenFX
        internal void ForeachContact(Action <PlaceContactHandle> action)
        {
            // PlaceContactHandle is valid only in this callback and users should not keep its reference
            ContactsCallback callback = (index, total, handle, userData) =>
            {
                action(new PlaceContactHandle(handle, true));
                return(true);
            };

            ForeachContact(handle, callback, IntPtr.Zero).WarnIfFailed("Failed to get contacts list from native handle");
        }
コード例 #2
0
ファイル: Interop.Place.cs プロジェクト: yunmiha/TizenFX
 internal static extern ErrorCode ForeachContact(IntPtr /* maps_place_h */ place, ContactsCallback callback, IntPtr /* void */ userData);