示例#1
0
        bool INatShare.SaveToCameraRoll(byte[] pngData)
        {
            var handle = GCHandle.Alloc(pngData, GCHandleType.Pinned);
            var result = NatShareBridge.SaveToCameraRoll(handle.AddrOfPinnedObject(), pngData.Length);

            handle.Free();
            return(result);
        }
示例#2
0
 bool INatShare.SaveToCameraRoll(string videoPath)
 {
     return(NatShareBridge.SaveToCameraRoll(videoPath));
 }